diff --git a/tests/integration/recipe_lint.bats b/tests/integration/recipe_lint.bats index fec51a03..0b2617b4 100644 --- a/tests/integration/recipe_lint.bats +++ b/tests/integration/recipe_lint.bats @@ -1,6 +1,8 @@ #!/usr/bin/env bash teardown_file() { + load "$PWD/tests/integration/helpers/common" + _common_setup _reset_recipe } diff --git a/tests/integration/recipe_version.bats b/tests/integration/recipe_version.bats index 5efc9f5d..42d2e4d0 100644 --- a/tests/integration/recipe_version.bats +++ b/tests/integration/recipe_version.bats @@ -21,17 +21,17 @@ setup() { latestVersion=$(jq -r '.gitea.versions[-1] | keys[0]' < "$ABRA_DIR/catalogue/recipes.json") refute [ -z "$latestVersion" ]; - run bash -c '$ABRA recipe versions gitea --machine | jq -r ".[0].Version" | head -n 1' + run bash -c '$ABRA recipe versions gitea --machine | jq -r ".[0].version" | head -n 1' assert_success assert_output "$latestVersion" } @test "app is first service listed" { - run bash -c '$ABRA recipe versions gitea --machine | jq -r ".[0].Service" | uniq' + run bash -c '$ABRA recipe versions gitea --machine | jq -r ".[0].service" | uniq' assert_success assert_output 'app' - run bash -c '$ABRA recipe versions gitea --machine | jq -r ".[1].Service" | uniq' + run bash -c '$ABRA recipe versions gitea --machine | jq -r ".[1].service" | uniq' assert_success assert_output 'db' }