Refactor issue indexer (#5363)

This commit is contained in:
Lunny Xiao authored and techknowlogick committed 2019-02-19 09:39:39 -05:00
1 parent 094263db4d
commit 830ae61456
22 files changed
+1046 -117

No files matched your search

+4
View File
@@ -44,6 +44,10 @@ func MainTest(m *testing.M, pathToGiteaRoot string) {
fatalTestError("Error creating test engine: %v\n", err)
}
if err = InitIssueIndexer(); err != nil {
fatalTestError("Error InitIssueIndexer: %v\n", err)
}
setting.AppURL = "https://try.gitea.io/"
setting.RunUser = "runuser"
setting.SSH.Port = 3000