From fbe3470ef3a37abbf07206f5dca6cb3c9397ccc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 4 Nov 2020 10:07:30 +0100 Subject: [PATCH] /cloud/groups now returns a proper result body MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- .../apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature b/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature index 0b4ab635f0..2f5e30d9c1 100644 --- a/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature +++ b/ocis/tests/acceptance/features/apiOcisSpecific/apiAuthOcs-ocsGETAuth.feature @@ -20,8 +20,6 @@ Feature: auth | /ocs/v2.php/apps/files_sharing/api/v1/shares | | /ocs/v1.php/cloud/apps | | /ocs/v2.php/cloud/apps | - | /ocs/v1.php/cloud/groups | - | /ocs/v2.php/cloud/groups | | /ocs/v1.php/config | | /ocs/v2.php/config | | /ocs/v1.php/privatedata/getattribute | @@ -33,9 +31,11 @@ Feature: auth # after fixing all issues delete this Scenario and use the one from oC10 core Scenario: using OCS anonymously When a user requests these endpoints with "GET" and no authentication - | endpoint | - | /ocs/v1.php/cloud/users | - | /ocs/v2.php/cloud/users | + | endpoint | + | /ocs/v1.php/cloud/users | + | /ocs/v2.php/cloud/users | + | /ocs/v1.php/cloud/groups | + | /ocs/v2.php/cloud/groups | Then the HTTP status code of responses on all endpoints should be "401" And the OCS status code of responses on all endpoints should be "997"