diff --git a/testing/tavern/test.sh b/testing/tavern/test.sh index 39877de..7583b45 100644 --- a/testing/tavern/test.sh +++ b/testing/tavern/test.sh @@ -1,4 +1,3 @@ #!/bin/bash -tavern-ci test_flights.tavern.yaml -# tavern-ci *.yaml +tavern-ci *.yaml diff --git a/testing/tavern/test_flights.tavern.yaml b/testing/tavern/test_flights.tavern.yaml index 1cdf2c0..743eb63 100644 --- a/testing/tavern/test_flights.tavern.yaml +++ b/testing/tavern/test_flights.tavern.yaml @@ -1,14 +1,3 @@ -test_name: Flights - -stages: - - name: Make sure we can get flights - request: - url: "{tavern.env_vars.API_URL}/flights" - method: GET - response: - status_code: 200 - ---- test_name: Create Flight stages: @@ -60,3 +49,15 @@ stages: status: !anystr headers: content-type: application/json + +--- + +test_name: Flights + +stages: + - name: Make sure we can get flights + request: + url: "{tavern.env_vars.API_URL}/flights" + method: GET + response: + status_code: 200