summaryrefslogtreecommitdiffstats
path: root/models/repo_list_test.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2018-10-31 05:48:37 +0800
committertechknowlogick <hello@techknowlogick.com>2018-10-30 17:48:37 -0400
commit10370651fcd14b61524e1dd1ca941af640916814 (patch)
treeed4db8c694b0189f8dfb5d8e201494a7c5e9c46f /models/repo_list_test.go
parente5daa2698fb27bb734d0788f48f15608f7fc170f (diff)
downloadgitea-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.go2
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 {