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

Commit 4be0f81

Browse files
author
Steven Kirk
committed
Fix non-compiling unit test.
1 parent 4c193c7 commit 4be0f81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public static IRepositoryPublishViewModel GetViewModel(
3232
service = service ?? Substitute.For<IRepositoryPublishService>();
3333
notificationService = notificationService ?? Substitute.For<INotificationService>();
3434
connectionManager = connectionManager ?? Substitutes.ConnectionManager;
35-
return new RepositoryPublishViewModel(hosts, service, notificationService, connectionManager);
35+
return new RepositoryPublishViewModel(hosts, service, notificationService, connectionManager,
36+
Substitute.For<IUsageTracker>());
3637
}
3738

3839
public static void SetupConnections(IRepositoryHosts hosts, IConnectionManager cm,

0 commit comments

Comments
 (0)