[NO-TICKET] Cleanup - remove unused code (#16828)

Этот коммит содержится в:
Atanas Alexandrov
2021-02-02 11:28:31 +01:00
коммит произвёл GitHub
родитель 57f2e7dcd4
Коммит a31f666019
4 изменённых файлов: 38 добавлений и 20 удалений

Просмотреть файл

@@ -133,18 +133,6 @@ func setupTestHelper(dbStore store.Store, enterprise bool, includeCacheLayer boo
return th
}
func SetupEnterprise(tb testing.TB) *TestHelper {
if testing.Short() {
tb.SkipNow()
}
dbStore := mainHelper.GetStore()
dbStore.DropAllTables()
dbStore.MarkSystemRanUnitTests()
mainHelper.PreloadMigrations()
return setupTestHelper(dbStore, true, true, tb, nil)
}
func Setup(tb testing.TB) *TestHelper {
if testing.Short() {
tb.SkipNow()