Skip to content

Commit 1ab6971

Browse files
authored
Merge pull request #2149 from cultuurnet/III-6841-authenticate-acceptance-tests
III-6841: Add acceptenace test with apiKey matched to clientId
2 parents 64c217c + f0d33cb commit 1ab6971

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

features/search/auth.feature

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Feature: Test the Search API v3 authentication
2222
When I send a GET request to "/events"
2323
Then the response status should be "401"
2424

25+
Scenario: Search with an API key that will be matched to a client id
26+
Given I am using an UiTID v1 API key of consumer "apiKeyMatchedToClientId"
27+
When I send a GET request to "/events"
28+
Then the response status should be "200"
29+
2530
Scenario: Search with a client id that has access to Search API v3
2631
Given I am using a x-client-id header for client "test_client_sapi3_only"
2732
And I am using the Search API v3 base URL

0 commit comments

Comments
 (0)