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

Commit fca3a96

Browse files
committed
Check when just owner has been deleted
Test that we don't duplicate the repo on next selection.
1 parent 5450302 commit fca3a96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ public async Task Repository_Name_Replaces_Last_Part_Of_Non_Base_Path()
172172

173173
[TestCase("c:\\base", "owner1/repo1", "", "owner2/repo2", "c:\\base\\owner2\\repo2",
174174
Description = "Base path cleared")]
175-
[TestCase("c:\\base", "owner1/repo1", "c:\\base\\repo1", "owner2/repo2", "c:\\base\\repo1\\owner2\\repo2",
176-
Description = "Owner deleted looks like base path change")]
175+
[TestCase("c:\\base", "owner1/repo1", "c:\\base\\repo1", "owner2/repo2", "c:\\base\\owner2\\repo2",
176+
Description = "Owner deleted")]
177177
public async Task User_Edits_Path(string defaultClonePath, string repo1, string userPath, string repo2, string expectPath)
178178
{
179179
var target = CreateTarget(defaultClonePath: defaultClonePath);

0 commit comments

Comments
 (0)