aboutsummaryrefslogtreecommitdiffstats
path: root/models/auth/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/auth/main_test.go')
-rw-r--r--models/auth/main_test.go17
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",
+ },
+ })
}
table28-update-psalm-baseline Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/autotest-js.sh
blob: 7205cf4c42d340ab331702a5cf91430e025b23ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13