Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 0773af0

Browse files
Removing unused test
1 parent 9c34cdc commit 0773af0

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

src/tests/IntegrationTests/Events/RepositoryManagerTests.cs

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -452,51 +452,6 @@ await RepositoryManager.SwitchBranch("branch2")
452452
repositoryManagerListener.DidNotReceive().OnRemoteBranchRemoved(Args.String, Args.String);
453453
}
454454

455-
[Test]
456-
public async Task ShouldUpdateCloneUrlIfRemoteIsDeleted()
457-
{
458-
await Initialize(TestRepoMasterCleanSynchronized);
459-
460-
var repositoryManagerListener = Substitute.For<IRepositoryManagerListener>();
461-
repositoryManagerListener.AttachListener(RepositoryManager, repositoryManagerEvents);
462-
463-
await RepositoryManager.RemoteRemove("origin").StartAsAsync();
464-
await TaskManager.Wait();
465-
RepositoryManager.WaitForEvents();
466-
WaitForNotBusy(repositoryManagerEvents);
467-
468-
repositoryManagerListener.Received().OnIsBusyChanged(Args.Bool);
469-
repositoryManagerListener.DidNotReceive().OnStatusUpdated(Args.GitStatus);
470-
repositoryManagerListener.DidNotReceive().OnLocksUpdated(Args.EnumerableGitLock);
471-
repositoryManagerListener.DidNotReceive().OnHeadUpdated(Args.String);
472-
repositoryManagerListener.Received().OnLocalBranchListUpdated(Arg.Any<Dictionary<string, ConfigBranch>>());
473-
repositoryManagerListener.Received().OnRemoteBranchListUpdated(Arg.Any<Dictionary<string, Dictionary<string, ConfigBranch>>>());
474-
repositoryManagerListener.DidNotReceive().OnLocalBranchUpdated(Args.String);
475-
repositoryManagerListener.DidNotReceive().OnLocalBranchAdded(Args.String);
476-
repositoryManagerListener.DidNotReceive().OnLocalBranchRemoved(Args.String);
477-
repositoryManagerListener.DidNotReceive().OnRemoteBranchAdded(Args.String, Args.String);
478-
repositoryManagerListener.Received().OnRemoteBranchRemoved(Args.String, Args.String);
479-
480-
repositoryManagerListener.ClearReceivedCalls();
481-
repositoryManagerEvents.Reset();
482-
483-
await RepositoryManager.RemoteAdd("origin", "https://github.com/EvilShana/IOTestsRepo.git").StartAsAsync();
484-
await TaskManager.Wait();
485-
RepositoryManager.WaitForEvents();
486-
487-
repositoryManagerListener.Received().OnIsBusyChanged(Args.Bool);
488-
repositoryManagerListener.DidNotReceive().OnStatusUpdated(Args.GitStatus);
489-
repositoryManagerListener.DidNotReceive().OnLocksUpdated(Args.EnumerableGitLock);
490-
repositoryManagerListener.DidNotReceive().OnHeadUpdated(Args.String);
491-
repositoryManagerListener.Received().OnLocalBranchListUpdated(Arg.Any<Dictionary<string, ConfigBranch>>());
492-
repositoryManagerListener.Received().OnRemoteBranchListUpdated(Arg.Any<Dictionary<string, Dictionary<string, ConfigBranch>>>());
493-
repositoryManagerListener.DidNotReceive().OnLocalBranchUpdated(Args.String);
494-
repositoryManagerListener.DidNotReceive().OnLocalBranchAdded(Args.String);
495-
repositoryManagerListener.DidNotReceive().OnLocalBranchRemoved(Args.String);
496-
repositoryManagerListener.DidNotReceive().OnRemoteBranchAdded(Args.String, Args.String);
497-
repositoryManagerListener.DidNotReceive().OnRemoteBranchRemoved(Args.String, Args.String);
498-
}
499-
500455
[Test]
501456
public async Task ShouldDetectGitPull()
502457
{

0 commit comments

Comments
 (0)