diff --git a/tests/acceptance/features/apiAuthOcs/ocsGETAuth.feature b/tests/acceptance/features/apiAuthOcs/ocsGETAuth.feature index 279b54ce111b..b99bf82365d8 100644 --- a/tests/acceptance/features/apiAuthOcs/ocsGETAuth.feature +++ b/tests/acceptance/features/apiAuthOcs/ocsGETAuth.feature @@ -82,39 +82,6 @@ Feature: auth | 1 |/privatedata/getattribute | 997 | 401 | | 2 |/privatedata/getattribute | 997 | 401 | - @issue-32068 - Scenario Outline: send POST requests to OCS endpoints as normal user with wrong password - Given using OCS API version "" - And user "user1" has been created with default attributes and skeleton files - When user "user0" sends HTTP method "POST" to OCS API endpoint "" with body using password "invalid" - | data | doesnotmatter | - Then the OCS status code should be "" - And the HTTP status code should be "" - Examples: - | ocs_api_version |endpoint | ocs-code | http-code | - | 1 |/apps/files_sharing/api/v1/remote_shares/pending/123 | 997 | 401 | - | 2 |/apps/files_sharing/api/v1/remote_shares/pending/123 | 997 | 401 | - | 1 |/apps/files_sharing/api/v1/shares | 997 | 401 | - | 2 |/apps/files_sharing/api/v1/shares | 997 | 401 | - | 1 |/apps/files_sharing/api/v1/shares/pending/123 | 997 | 401 | - | 2 |/apps/files_sharing/api/v1/shares/pending/123 | 997 | 401 | - | 1 |/cloud/apps/testing | 997 | 401 | - | 2 |/cloud/apps/testing | 997 | 401 | - | 1 |/cloud/groups | 997 | 401 | - | 2 |/cloud/groups | 997 | 401 | - | 1 |/cloud/users | 997 | 401 | - | 2 |/cloud/users | 997 | 401 | - | 1 |/cloud/users/user0/groups | 997 | 401 | - | 2 |/cloud/users/user0/groups | 997 | 401 | - | 1 |/cloud/users/user0/subadmins | 997 | 401 | - | 2 |/cloud/users/user0/subadmins | 997 | 401 | - | 1 |/person/check | 101 | 200 | - | 2 |/person/check | 400 | 400 | - | 1 |/privatedata/deleteattribute/testing/test | 997 | 401 | - | 2 |/privatedata/deleteattribute/testing/test | 997 | 401 | - | 1 |/privatedata/setattribute/testing/test | 997 | 401 | - | 2 |/privatedata/setattribute/testing/test | 997 | 401 | - Scenario Outline: using OCS with admin basic auth When the administrator requests "" with "GET" using basic auth Then the OCS status code should be "" @@ -152,52 +119,6 @@ Feature: auth | 1 |/privatedata/getattribute | 997 | 401 | | 2 |/privatedata/getattribute | 997 | 401 | - @issue-32068 - Scenario Outline: send PUT requests to OCS endpoints as admin with wrong password - Given using OCS API version "" - When the administrator sends HTTP method "PUT" to OCS API endpoint "" with body using password "invalid" - | data | doesnotmatter | - Then the OCS status code should be "" - And the HTTP status code should be "" - Examples: - | ocs_api_version |endpoint | ocs-code | http-code | - | 1 |/apps/files_sharing/api/v1/shares/123 | 997 | 401 | - | 2 |/apps/files_sharing/api/v1/shares/123 | 997 | 401 | - | 1 |/cloud/users/user0 | 997 | 401 | - | 2 |/cloud/users/user0 | 997 | 401 | - | 1 |/cloud/users/user0/disable | 997 | 401 | - | 2 |/cloud/users/user0/disable | 997 | 401 | - | 1 |/cloud/users/user0/enable | 997 | 401 | - | 2 |/cloud/users/user0/enable | 997 | 401 | - - @issue-32068 - Scenario Outline: send DELETE requests to OCS endpoints as admin with wrong password - Given using OCS API version "" - And group "group1" has been created - When the administrator sends HTTP method "DELETE" to OCS API endpoint "" using password "invalid" - Then the OCS status code should be "" - And the HTTP status code should be "" - Examples: - | ocs_api_version |endpoint | ocs-code | http-code | - | 1 |/apps/files_sharing/api/v1/remote_shares/pending/123 | 997 | 401 | - | 2 |/apps/files_sharing/api/v1/remote_shares/pending/123 | 997 | 401 | - | 1 |/apps/files_sharing/api/v1/remote_shares/123 | 997 | 401 | - | 2 |/apps/files_sharing/api/v1/remote_shares/123 | 997 | 401 | - | 1 |/apps/files_sharing/api/v1/shares/123 | 997 | 401 | - | 2 |/apps/files_sharing/api/v1/shares/123 | 997 | 401 | - | 1 |/apps/files_sharing/api/v1/shares/pending/123 | 997 | 401 | - | 2 |/apps/files_sharing/api/v1/shares/pending/123 | 997 | 401 | - | 1 |/cloud/apps/testing | 997 | 401 | - | 2 |/cloud/apps/testing | 997 | 401 | - | 1 |/cloud/groups/group1 | 997 | 401 | - | 2 |/cloud/groups/group1 | 997 | 401 | - | 1 |/cloud/users/user0 | 997 | 401 | - | 2 |/cloud/users/user0 | 997 | 401 | - | 1 |/cloud/users/user0/groups | 997 | 401 | - | 2 |/cloud/users/user0/groups | 997 | 401 | - | 1 |/cloud/users/user0/subadmins | 997 | 401 | - | 2 |/cloud/users/user0/subadmins | 997 | 401 | - Scenario Outline: using OCS with token auth of a normal user Given a new client token for "user0" has been generated When user "user0" requests "" with "GET" using basic token auth