Skip to content

Commit

Permalink
Fix smoke tests
Browse files Browse the repository at this point in the history
Fixes the smoke tests and make tehm more reliable.

Signed-off-by: Rémy Greinhofer <[email protected]>
  • Loading branch information
rgreinho committed Aug 12, 2024
1 parent 045230a commit 8f02ab6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lambdas/tests/smoke/public-readonly.hurl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ content-type: application/json
"occupation": "CTO",
"consent": true
}
HTTP 200
HTTP 201
[Captures]
submission_id: jsonpath "$.id"

# Query all the submissions.
GET {{host}}/cities/submissions
Expand All @@ -49,5 +51,5 @@ GET {{host}}/cities/submissions?status=Pending
HTTP 200

# Query a specific submission.
GET {{host}}/cities/submissions/1
GET {{host}}/cities/submissions/{{submission_id}}
HTTP 200

0 comments on commit 8f02ab6

Please sign in to comment.