diff options
Diffstat (limited to 'models/auth/main_test.go')
-rw-r--r-- | models/auth/main_test.go | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/models/auth/main_test.go b/models/auth/main_test.go index 4255f488fe..ccbdd4e81c 100644 --- a/models/auth/main_test.go +++ b/models/auth/main_test.go @@ -12,11 +12,14 @@ import ( ) func TestMain(m *testing.M) { - unittest.MainTest(m, filepath.Join("..", ".."), - "login_source.yml", - "oauth2_application.yml", - "oauth2_authorization_code.yml", - "oauth2_grant.yml", - "webauthn_credential.yml", - ) + unittest.MainTest(m, &unittest.TestOptions{ + GiteaRootPath: filepath.Join("..", ".."), + FixtureFiles: []string{ + "login_source.yml", + "oauth2_application.yml", + "oauth2_authorization_code.yml", + "oauth2_grant.yml", + "webauthn_credential.yml", + }, + }) } |