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

Commit 1d40cb4

Browse files
committed
Fix unit tests
1 parent 9ffacc7 commit 1d40cb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/GitHub.App.UnitTests/ViewModels/Dialog/Clone/RepositoryCloneViewModelTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ static RepositoryCloneViewModel CreateTarget(
424424
IConnectionManager connectionManager = null,
425425
IRepositoryCloneService service = null,
426426
IUsageTracker usageTracker = null,
427+
IDialogService dialogService = null,
427428
IRepositorySelectViewModel gitHubTab = null,
428429
IRepositorySelectViewModel enterpriseTab = null,
429430
IGitService gitService = null,
@@ -433,6 +434,7 @@ static RepositoryCloneViewModel CreateTarget(
433434
connectionManager = connectionManager ?? CreateConnectionManager("https://github.com");
434435
service = service ?? CreateRepositoryCloneService(defaultClonePath);
435436
usageTracker = usageTracker ?? Substitute.For<IUsageTracker>();
437+
dialogService = dialogService ?? Substitute.For<IDialogService>();
436438
gitHubTab = gitHubTab ?? CreateSelectViewModel();
437439
enterpriseTab = enterpriseTab ?? CreateSelectViewModel();
438440
gitService = gitService ?? CreateGitService(true, "https://github.com/owner/repo");
@@ -443,6 +445,7 @@ static RepositoryCloneViewModel CreateTarget(
443445
service,
444446
gitService,
445447
usageTracker,
448+
dialogService,
446449
gitHubTab,
447450
enterpriseTab);
448451
}

0 commit comments

Comments
 (0)