Skip to content

Commit bbe7aa3

Browse files
only21milclaude
andcommitted
test(server): pass the remote to the option-named remote pull request fetch
Pull request ref fetches now take the remote that names the pull request's repository, so the main test that fetches from a remote named like an option passes its remoteName. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 2ebf6b6 commit bbe7aa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/vcs/GitVcsDriverCore.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3721,7 +3721,7 @@ it.layer(layerTest)("GitVcsDriver core integration", (it) => {
37213721
assert.equal(yield* driver.resolvePrimaryRemoteName(cwd), remoteName);
37223722
yield* driver.fetchRemoteTrackingBranch({ cwd, remoteName, remoteBranch: initialBranch });
37233723
yield* driver.fetchRemote({ cwd, remoteName });
3724-
const head = yield* driver.fetchPullRequestHeadCommit({ cwd, prNumber: 7 });
3724+
const head = yield* driver.fetchPullRequestHeadCommit({ cwd, remoteName, prNumber: 7 });
37253725

37263726
assert.isFalse(yield* fileSystem.exists((yield* Path.Path).join(cwd, "t3-marker")));
37273727
assert.equal(head.commitSha, yield* git(cwd, ["rev-parse", "HEAD"]));

0 commit comments

Comments
 (0)