Skip to content

Commit

Permalink
CR Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
N-o-Z committed Nov 20, 2024
1 parent a6a8980 commit c5b5ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/catalog/catalog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ func createPrepareUncommittedTestScenario(t *testing.T, repositoryID string, num
test.RefManager.EXPECT().GetRepository(gomock.Any(), graveler.RepositoryID(repositoryID)).MinTimes(1).Return(repository, nil)

// expect tracked addresses does not list branches, so remove one and keep at least the first
test.RefManager.EXPECT().ListBranches(gomock.Any(), gomock.Any()).MinTimes(1).Return(gUtils.NewFakeBranchIterator(branches), nil)
test.RefManager.EXPECT().ListBranches(gomock.Any(), gomock.Any(), gomock.Any()).MinTimes(1).Return(gUtils.NewFakeBranchIterator(branches), nil)
for i := 0; i < len(branches); i++ {
sort.Slice(records[i], func(ii, jj int) bool {
return bytes.Compare(records[i][ii].Key, records[i][jj].Key) < 0
Expand Down

0 comments on commit c5b5ad3

Please sign in to comment.