Skip to content

Commit

Permalink
Merge pull request #1378 from open-zaak/issue/1359-fix-postman-tests
Browse files Browse the repository at this point in the history
💚 [#1359] Fix ZGW postman tests
  • Loading branch information
joeribekker committed May 8, 2023
2 parents 53b22ae + 38bf56e commit e0ac44b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/postman_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -x

POSTMAN_TESTS_REF=6e34f01346545bb297bb181085464f8f32646769
POSTMAN_TESTS_REF=fb877260d421a4b909fb8b46884174ddd3633b90

# These client IDs and secrets are dummy variables that are only used by
# the Docker build in Travis, so they can be public
Expand Down
5 changes: 5 additions & 0 deletions docker/nginx/mocks.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ server {
add_header Content-Type text/html;
return 404 "";
}

location /communicatiekanaal {
add_header Content-Type application/json;
return 200 '{"url":"http://mock-endpoints.local/communicatiekanaal","naam":"foo","omschrijving":"bar"}';
}
}

server {
Expand Down
4 changes: 2 additions & 2 deletions fixtures/fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@
"fields":{
"label":"referentielijsten",
"api_type":"orc",
"api_root":"https://referentielijsten-api.vng.cloud/api/v1/",
"api_root":"http://referentielijsten-api.vng.cloud/api/v1/",
"client_id": "",
"secret":"",
"auth_type": "no_auth",
"header_key": "",
"header_value": "",
"oas": "https://referentielijsten-api.vng.cloud/api/v1/schema/openapi.yaml",
"oas": "https://selectielijst.openzaak.nl/api/v1/schema/openapi.yaml",
"nlx": "",
"user_id": "",
"user_representation": ""
Expand Down

0 comments on commit e0ac44b

Please sign in to comment.