Template host in verification tests
This commit is contained in:
@@ -82,4 +82,5 @@ jobs:
|
|||||||
- uses: gacts/install-hurl@v1
|
- uses: gacts/install-hurl@v1
|
||||||
- run: hurl --test test/prod.hurl
|
- run: hurl --test test/prod.hurl
|
||||||
env:
|
env:
|
||||||
|
HURL_host: https://music-library.claudio-ortolina.org
|
||||||
HURL_api_token: ${{ secrets.API_TOKEN }}
|
HURL_api_token: ${{ secrets.API_TOKEN }}
|
||||||
|
|||||||
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
# API requires a valid token
|
# API requires a valid token
|
||||||
|
|
||||||
# GET latest record
|
# GET latest record
|
||||||
GET https://music-library.claudio-ortolina.org/api/collection/latest
|
GET {{host}}/api/collection/latest
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
HTTP 401
|
HTTP 401
|
||||||
|
|
||||||
GET https://music-library.claudio-ortolina.org/api/collection/latest
|
GET {{host}}/api/collection/latest
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Authorization: Bearer {{api_token}}
|
Authorization: Bearer {{api_token}}
|
||||||
HTTP 200
|
HTTP 200
|
||||||
|
|||||||
Reference in New Issue
Block a user