aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/api_token_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/api_token_test.go')
-rw-r--r--tests/integration/api_token_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_token_test.go b/tests/integration/api_token_test.go
index 01d18ef6f1..1770358d21 100644
--- a/tests/integration/api_token_test.go
+++ b/tests/integration/api_token_test.go
@@ -507,7 +507,7 @@ func runTestCase(t *testing.T, testCase *requiredScopeTestCase, user *user_model
} else if minRequiredLevel == auth_model.Write {
unauthorizedLevel = auth_model.Read
} else {
- assert.FailNow(t, "Invalid test case: Unknown access token scope level: %v", minRequiredLevel)
+ assert.FailNow(t, "Invalid test case", "Unknown access token scope level: %v", minRequiredLevel)
}
}