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

Commit e35c690

Browse files
committed
Use new ILocalRepositoryModel.
1 parent 6028eab commit e35c690

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/UnitTests/GitHub.VisualStudio/UI/Views/GitHubPaneViewModelTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ public GitHubPaneViewModelTests()
3333
repositoryHosts.IsLoggedInToAnyHost.Returns(true);
3434

3535
var teamExplorerServiceHolder = Substitute.For<ITeamExplorerServiceHolder>();
36-
var activeRepo = Substitute.For<ISimpleRepositoryModel>();
36+
var activeRepo = Substitute.For<ILocalRepositoryModel>();
3737
activeRepo.CloneUrl.Returns(new UriString("https://github.com/foo/foo"));
3838
teamExplorerServiceHolder
39-
.When(_ => _.Subscribe(Arg.Any<object>(), Arg.Any<Action<ISimpleRepositoryModel>>()))
39+
.When(_ => _.Subscribe(Arg.Any<object>(), Arg.Any<Action<ILocalRepositoryModel>>()))
4040
.Do(_ =>
4141
{
42-
var invokeAction = _.Arg<Action<ISimpleRepositoryModel>>();
42+
var invokeAction = _.Arg<Action<ILocalRepositoryModel>>();
4343
invokeAction(activeRepo);
4444
});
4545

0 commit comments

Comments
 (0)