Skip to content

Commit 9961720

Browse files
committed
Fix repo search tests
1 parent 9605731 commit 9961720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/repo_list_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func TestSearchRepositoryByName(t *testing.T) {
9696

9797
assert.NotNil(t, repos)
9898
assert.NoError(t, err)
99-
assert.Equal(t, int64(3), count)
99+
assert.Equal(t, int64(2), count)
100100

101101
// Get all public + private repositories of user
102102
repos, count, err = SearchRepositoryByName(&SearchRepoOptions{
@@ -109,7 +109,7 @@ func TestSearchRepositoryByName(t *testing.T) {
109109

110110
assert.NotNil(t, repos)
111111
assert.NoError(t, err)
112-
assert.Equal(t, int64(6), count)
112+
assert.Equal(t, int64(4), count)
113113

114114
// Get all public (including collaborative) repositories of user
115115
repos, count, err = SearchRepositoryByName(&SearchRepoOptions{

0 commit comments

Comments
 (0)