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

Commit 2a85875

Browse files
committed
Fix broken tests.
1 parent 68fd076 commit 2a85875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/UnitTests/GitHub.App/ViewModels/GitHubPane/PullRequestDetailViewModelTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,8 @@ static Tuple<PullRequestDetailViewModel, IPullRequestService> CreateTargetAndSer
554554
pullRequestService,
555555
sessionManager ?? Substitute.For<IPullRequestSessionManager>(),
556556
Substitute.For<IModelServiceFactory>(),
557-
Substitute.For<IUsageTracker>());
557+
Substitute.For<IUsageTracker>(),
558+
Substitute.For<IVSGitExt>());
558559
vm.InitializeAsync(repository, Substitute.For<IConnection>(), "owner", "repo", 1).Wait();
559560

560561
return Tuple.Create(vm, pullRequestService);

0 commit comments

Comments
 (0)