diff options
Diffstat (limited to 'models/migrations/base/tests.go')
-rw-r--r-- | models/migrations/base/tests.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/base/tests.go b/models/migrations/base/tests.go index 14f374f1a7..124111f51f 100644 --- a/models/migrations/base/tests.go +++ b/models/migrations/base/tests.go @@ -150,7 +150,7 @@ func MainTest(m *testing.M) { setting.AppDataPath = tmpDataPath setting.SetCustomPathAndConf("", "", "") - setting.InitProviderAndLoadCommonSettingsForTest() + unittest.InitSettings() if err = git.InitFull(context.Background()); err != nil { fmt.Printf("Unable to InitFull: %v\n", err) os.Exit(1) |