summaryrefslogtreecommitdiff
path: root/features/1/unauthenticated.feature
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-09-11 14:55:14 +0200
committerAzul <azul@riseup.net>2017-09-11 14:55:14 +0200
commitef91e8fe1fb5c1cf8f2f84fd25ef2b115f0ec8c8 (patch)
treeb567a85624fa924a7ee962a07cad89987b804d6b /features/1/unauthenticated.feature
parent35b710c968d6e71e4d4210dbc2e00abc6f14f513 (diff)
feat: allow unauthenticated access to list of configs
This should simplify client code significantly according to platform#8849
Diffstat (limited to 'features/1/unauthenticated.feature')
-rw-r--r--features/1/unauthenticated.feature3
1 files changed, 1 insertions, 2 deletions
diff --git a/features/1/unauthenticated.feature b/features/1/unauthenticated.feature
index aea7117..a135f14 100644
--- a/features/1/unauthenticated.feature
+++ b/features/1/unauthenticated.feature
@@ -16,7 +16,7 @@ Feature: Unauthenticated API endpoints
And the response should be that config
Scenario: Authentication required response
- When I send a GET request to "/1/configs"
+ When I send a GET request to "/1/configs/config_id.json"
Then the response status should be "401"
And the response should have "error" with "not_authorized_login"
And the response should have "message"
@@ -24,7 +24,6 @@ Feature: Unauthenticated API endpoints
Scenario: Authentication required for all other API endpoints (incomplete)
Given I am not logged in
When I send requests to these endpoints:
- | GET | /1/configs |
| GET | /1/configs/config_id.json |
| GET | /1/service |
| DELETE | /1/logout |