Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit f6c24db

Browse files
author
Steven Kirk
committed
Fix failing test.
1 parent 78cf181 commit f6c24db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/UnitTests/GitHub.App/ViewModels/PullRequestDetailViewModelTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ public async Task CheckoutInvalidStateShouldCallService()
267267
existingPrBranch: "pr/123",
268268
aheadBy: 1);
269269

270+
target.Item2.IsPullRequestFromFork(
271+
Arg.Any<ILocalRepositoryModel>(),
272+
Arg.Any<PullRequest>()).Returns(true);
270273
target.Item2.GetDefaultLocalBranchName(Arg.Any<ILocalRepositoryModel>(), 1, Arg.Any<string>())
271274
.Returns(Observable.Return("pr/1-foo"));
272275

0 commit comments

Comments
 (0)