feat: publish sanitized custom.97 source
This commit is contained in:
1022 files changed
+69903
-19207
No files matched your search
@@ -907,7 +907,7 @@ func TestWebFallbackDoesNotCacheMissingAPIOrAssets(t *testing.T) {
|
||||
func TestSecurityRoutesDisableCachingBeforeAuthentication(t *testing.T) {
|
||||
outer := gin.New()
|
||||
SetApiRouter(outer)
|
||||
for _, path := range []string{"/api/user/token/status", "/api/user/token", "/api/audit/self", "/api/audit"} {
|
||||
for _, path := range []string{"/api/user/access_tokens", "/api/user/access_tokens/catalog", "/api/user/access_tokens/scopes", "/api/audit/self", "/api/audit"} {
|
||||
t.Run(path, func(t *testing.T) {
|
||||
response := performPluginRequest(outer, http.MethodGet, path)
|
||||
assert.Equal(t, http.StatusUnauthorized, response.Code)
|
||||
|
||||
Reference in new issue
Block a user