diff options
Diffstat (limited to 'tests/integration/api_token_test.go')
-rw-r--r-- | tests/integration/api_token_test.go | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/integration/api_token_test.go b/tests/integration/api_token_test.go index 419884d45e..1c63d07f22 100644 --- a/tests/integration/api_token_test.go +++ b/tests/integration/api_token_test.go @@ -142,26 +142,6 @@ func TestAPIDeniesPermissionBasedOnTokenScope(t *testing.T) { }, }, { - "/api/v1/markdown", - "POST", - []permission{ - { - auth_model.AccessTokenScopeCategoryMisc, - auth_model.Write, - }, - }, - }, - { - "/api/v1/markdown/raw", - "POST", - []permission{ - { - auth_model.AccessTokenScopeCategoryMisc, - auth_model.Write, - }, - }, - }, - { "/api/v1/notifications", "GET", []permission{ @@ -348,16 +328,6 @@ func TestAPIDeniesPermissionBasedOnTokenScope(t *testing.T) { }, }, { - "/api/v1/settings/api", - "GET", - []permission{ - { - auth_model.AccessTokenScopeCategoryMisc, - auth_model.Read, - }, - }, - }, - { "/api/v1/user", "GET", []permission{ |