From fc0120e5fc1a8073a9cd6f7016c3567aeb10dd0c Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Wed, 25 Dec 2024 19:57:27 +0000 Subject: [PATCH] Revert "Template host in verification tests" This reverts commit d65a2223dbed4baa348fdaaec618ee5dff9539a5. --- .github/workflows/test_and_deploy.yml | 1 - test/prod.hurl | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index aeb83a2f..5e9919c8 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -82,5 +82,4 @@ jobs: - uses: gacts/install-hurl@v1 - run: hurl --test test/prod.hurl env: - HURL_host: https://music-library.claudio-ortolina.org HURL_api_token: ${{ secrets.API_TOKEN }} diff --git a/test/prod.hurl b/test/prod.hurl index 750ffb35..d3949645 100644 --- a/test/prod.hurl +++ b/test/prod.hurl @@ -1,11 +1,11 @@ # API requires a valid token # GET latest record -GET {{host}}/api/collection/latest +GET https://music-library.claudio-ortolina.org/api/collection/latest Content-Type: application/json HTTP 401 -GET {{host}}/api/collection/latest +GET https://music-library.claudio-ortolina.org/api/collection/latest Content-Type: application/json Authorization: Bearer {{api_token}} HTTP 200