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

Commit 8a95913

Browse files
committed
Fix test
1 parent 0cef013 commit 8a95913

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/UnitTests/GitHub.Exports/VSServicesTests.cs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public void CallsCloneOnVsProvidedCloneService(bool recurseSubmodules, CloneOpti
1616
var provider = Substitute.For<IUIProvider>();
1717
var gitRepositoriesExt = Substitute.For<IGitRepositoriesExt>();
1818
provider.GetService(typeof(IGitRepositoriesExt)).Returns(gitRepositoriesExt);
19+
provider.TryGetService(typeof(IGitRepositoriesExt)).Returns(gitRepositoriesExt);
1920
var vsServices = new VSServices(provider);
2021

2122
vsServices.Clone("https://github.com/github/visualstudio", @"c:\fake\ghfvs", recurseSubmodules);

0 commit comments

Comments
 (0)