Check when just owner has been deleted

Test that we don't duplicate the repo on next selection.
This commit is contained in:
Jamie Cansdale 2018-09-11 11:06:10 +01:00
Родитель 54503025a1
Коммит fca3a96eee
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -172,8 +172,8 @@ namespace GitHub.App.UnitTests.ViewModels.Dialog.Clone
[TestCase("c:\\base", "owner1/repo1", "", "owner2/repo2", "c:\\base\\owner2\\repo2",
Description = "Base path cleared")]
[TestCase("c:\\base", "owner1/repo1", "c:\\base\\repo1", "owner2/repo2", "c:\\base\\repo1\\owner2\\repo2",
Description = "Owner deleted looks like base path change")]
[TestCase("c:\\base", "owner1/repo1", "c:\\base\\repo1", "owner2/repo2", "c:\\base\\owner2\\repo2",
Description = "Owner deleted")]
public async Task User_Edits_Path(string defaultClonePath, string repo1, string userPath, string repo2, string expectPath)
{
var target = CreateTarget(defaultClonePath: defaultClonePath);