diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-10-31 05:48:37 +0800 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-10-30 17:48:37 -0400 |
commit | 10370651fcd14b61524e1dd1ca941af640916814 (patch) | |
tree | ed4db8c694b0189f8dfb5d8e201494a7c5e9c46f /models/repo_list_test.go | |
parent | e5daa2698fb27bb734d0788f48f15608f7fc170f (diff) | |
download | gitea-10370651fcd14b61524e1dd1ca941af640916814.tar.gz gitea-10370651fcd14b61524e1dd1ca941af640916814.zip |
This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql (#5136)
* This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql
* fix tests
Diffstat (limited to 'models/repo_list_test.go')
-rw-r--r-- | models/repo_list_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_list_test.go b/models/repo_list_test.go index 2f9a149188..c032af2b80 100644 --- a/models/repo_list_test.go +++ b/models/repo_list_test.go @@ -239,7 +239,7 @@ func TestSearchRepositoryByTopicName(t *testing.T) { count: 1}, {name: "AllPublic/OnlySearchMultipleKeywordPublicRepositoriesFromTopic", opts: &SearchRepoOptions{OwnerID: 21, AllPublic: true, Keyword: "graphql,golang", TopicOnly: true}, - count: 3}, + count: 2}, } for _, testCase := range testCases { |