diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2018-09-13 10:33:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-13 10:33:48 +0800 |
commit | ea20adaa84cbff762fcaa7f2d5fa6b7bf56706ec (patch) | |
tree | c2d09da1dcb0a00654963b30dbf5eeb152c83857 /models/user_test.go | |
parent | 7dd93b2441fc4eac89ccf6b919bf46823334c8bf (diff) | |
download | gitea-ea20adaa84cbff762fcaa7f2d5fa6b7bf56706ec.tar.gz gitea-ea20adaa84cbff762fcaa7f2d5fa6b7bf56706ec.zip |
feat(repo): support search repository by topic name (#4505)
* feat(repo): support search repository by topic name
Diffstat (limited to 'models/user_test.go')
-rw-r--r-- | models/user_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/user_test.go b/models/user_test.go index 20de1a64be..4713b6864c 100644 --- a/models/user_test.go +++ b/models/user_test.go @@ -77,13 +77,13 @@ func TestSearchUsers(t *testing.T) { } testUserSuccess(&SearchUserOptions{OrderBy: "id ASC", Page: 1}, - []int64{1, 2, 4, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20}) + []int64{1, 2, 4, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20, 21}) testUserSuccess(&SearchUserOptions{Page: 1, IsActive: util.OptionalBoolFalse}, []int64{9}) testUserSuccess(&SearchUserOptions{OrderBy: "id ASC", Page: 1, IsActive: util.OptionalBoolTrue}, - []int64{1, 2, 4, 5, 8, 10, 11, 12, 13, 14, 15, 16, 18, 20}) + []int64{1, 2, 4, 5, 8, 10, 11, 12, 13, 14, 15, 16, 18, 20, 21}) testUserSuccess(&SearchUserOptions{Keyword: "user1", OrderBy: "id ASC", Page: 1, IsActive: util.OptionalBoolTrue}, []int64{1, 10, 11, 12, 13, 14, 15, 16, 18}) |