Skip to content

Commit 11e79ee

Browse files
committed
fix tests
1 parent 33343b0 commit 11e79ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

models/repo_list_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ func TestSearchRepositoryByName(t *testing.T) {
147147
count: 14},
148148
{name: "AllPublic/PublicRepositoriesOfUserIncludingCollaborative",
149149
opts: &SearchRepoOptions{Page: 1, PageSize: 10, OwnerID: 15, AllPublic: true},
150-
count: 21},
150+
count: 22},
151151
{name: "AllPublic/PublicAndPrivateRepositoriesOfUserIncludingCollaborative",
152152
opts: &SearchRepoOptions{Page: 1, PageSize: 10, OwnerID: 15, Private: true, AllPublic: true},
153-
count: 27},
153+
count: 28},
154154
{name: "AllPublic/PublicAndPrivateRepositoriesOfUserIncludingCollaborativeByName",
155155
opts: &SearchRepoOptions{Keyword: "test", Page: 1, PageSize: 10, OwnerID: 15, Private: true, AllPublic: true},
156156
count: 15},
@@ -159,7 +159,7 @@ func TestSearchRepositoryByName(t *testing.T) {
159159
count: 13},
160160
{name: "AllPublic/PublicRepositoriesOfOrganization",
161161
opts: &SearchRepoOptions{Page: 1, PageSize: 10, OwnerID: 17, AllPublic: true, Collaborate: util.OptionalBoolFalse},
162-
count: 21},
162+
count: 22},
163163
}
164164

165165
for _, testCase := range testCases {

0 commit comments

Comments
 (0)