Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure GetTree() in mock reproduces behavior on GitLab #825

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changes related to comment
  • Loading branch information
DomLatr authored Jan 7, 2025
commit 6a010536ae2358d7cd81c15663e286d38d59f028
4 changes: 2 additions & 2 deletions NGitLab.Mock.Tests/UsingVerify/RepositoryMockTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public void Test_get_tree_when_subdirectory_does_not_exist_throws_not_found()
var repository = client.GetRepository(1);

// Act
var tree = repository.GetTreeAsync(new RepositoryGetTreeOptions { Path = "non-existing-directory" });
var treeCollection = repository.GetTreeAsync(new RepositoryGetTreeOptions { Path = "non-existing-directory" });

// Assert
Assert.That(tree, Is.Empty);
Assert.That(treeCollection , Is.Empty);
}

[Test]
Expand Down