Skip to content

Commit 9cfa329

Browse files
committed
fix docker compose test
1 parent a6eb876 commit 9cfa329

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ until curl -s "${BACKEND_URL}/health" > /dev/null; do
1616
done
1717

1818
# Wait for docurift
19-
until curl -s "${ANALYZER_URL}/openapi.json" > /dev/null; do
19+
until curl -s "${ANALYZER_URL}/api/openapi.json" > /dev/null; do
2020
echo "Waiting for docurift..."
2121
sleep 1
2222
done
@@ -29,7 +29,7 @@ go test -v ./shop
2929
echo "Fetching OpenAPI specification..."
3030

3131
# Fetch OpenAPI spec
32-
curl -s "${ANALYZER_URL}/openapi.json" > /tmp/openapi.json
32+
curl -s "${ANALYZER_URL}/api/openapi.json" > /tmp/openapi.json
3333

3434
# Basic validation
3535
if ! jq -e '.openapi' /tmp/openapi.json > /dev/null; then

0 commit comments

Comments
 (0)