diff --git a/tests/integration/app_backup.bats b/tests/integration/app_backup.bats index 3a8d9f0c..9456f9e0 100644 --- a/tests/integration/app_backup.bats +++ b/tests/integration/app_backup.bats @@ -10,6 +10,7 @@ setup_file() { teardown_file() { _rm_app _rm_server + _reset_recipe } setup() { diff --git a/tests/integration/app_check.bats b/tests/integration/app_check.bats index dd52ee25..29963d63 100644 --- a/tests/integration/app_check.bats +++ b/tests/integration/app_check.bats @@ -9,6 +9,7 @@ setup_file(){ teardown_file(){ _rm_server + _reset_recipe } setup(){ @@ -76,7 +77,7 @@ setup(){ run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status refute_output --partial 'behind 3' - _reset_recipe "$TEST_RECIPE" + _reset_recipe } @test "ensure recipe not up to date if --offline" { @@ -92,7 +93,7 @@ setup(){ run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status assert_output --partial 'behind 3' - _reset_recipe "$TEST_RECIPE" + _reset_recipe } @test "error if missing .env.sample" { diff --git a/tests/integration/app_cmd.bats b/tests/integration/app_cmd.bats index 39cfbd44..b7762600 100644 --- a/tests/integration/app_cmd.bats +++ b/tests/integration/app_cmd.bats @@ -10,6 +10,7 @@ setup_file(){ teardown_file(){ _rm_app _rm_server + _reset_recipe } setup(){ diff --git a/tests/integration/app_deploy.bats b/tests/integration/app_deploy.bats index 7769ab71..e3a56477 100644 --- a/tests/integration/app_deploy.bats +++ b/tests/integration/app_deploy.bats @@ -10,6 +10,7 @@ setup_file(){ teardown_file(){ _rm_app _rm_server + _reset_recipe } setup(){ diff --git a/tests/integration/app_new.bats b/tests/integration/app_new.bats index 4f8985ed..15f9e470 100644 --- a/tests/integration/app_new.bats +++ b/tests/integration/app_new.bats @@ -8,6 +8,7 @@ setup_file(){ teardown_file(){ _rm_server + _reset_recipe } setup(){ diff --git a/tests/integration/app_restore.bats b/tests/integration/app_restore.bats index 641a18e9..77a63f63 100644 --- a/tests/integration/app_restore.bats +++ b/tests/integration/app_restore.bats @@ -10,6 +10,7 @@ setup_file(){ teardown_file(){ _rm_app _rm_server + _reset_recipe } setup(){ diff --git a/tests/integration/app_rollback.bats b/tests/integration/app_rollback.bats index 64afce27..d6cbbef1 100644 --- a/tests/integration/app_rollback.bats +++ b/tests/integration/app_rollback.bats @@ -10,6 +10,7 @@ setup_file(){ teardown_file(){ _rm_app _rm_server + _reset_recipe } setup(){ diff --git a/tests/integration/app_secret.bats b/tests/integration/app_secret.bats index a0297196..091805ed 100644 --- a/tests/integration/app_secret.bats +++ b/tests/integration/app_secret.bats @@ -10,6 +10,7 @@ setup_file(){ teardown_file(){ _rm_app _rm_server + _reset_recipe } teardown(){ diff --git a/tests/integration/app_services.bats b/tests/integration/app_services.bats index c63ce2df..6776092e 100644 --- a/tests/integration/app_services.bats +++ b/tests/integration/app_services.bats @@ -10,6 +10,7 @@ setup_file(){ teardown_file(){ _rm_app _rm_server + _reset_recipe } setup(){ diff --git a/tests/integration/recipe_lint.bats b/tests/integration/recipe_lint.bats index b600a3c2..fec51a03 100644 --- a/tests/integration/recipe_lint.bats +++ b/tests/integration/recipe_lint.bats @@ -1,5 +1,9 @@ #!/usr/bin/env bash +teardown_file() { + _reset_recipe +} + setup() { load "$PWD/tests/integration/helpers/common" _common_setup diff --git a/tests/integration/recipe_release.bats b/tests/integration/recipe_release.bats index 356e1264..a847206c 100644 --- a/tests/integration/recipe_release.bats +++ b/tests/integration/recipe_release.bats @@ -9,6 +9,7 @@ setup_file(){ teardown_file(){ _rm_server + _reset_recipe } setup(){ diff --git a/tests/integration/recipe_upgrade.bats b/tests/integration/recipe_upgrade.bats index f282c12a..183d1f22 100644 --- a/tests/integration/recipe_upgrade.bats +++ b/tests/integration/recipe_upgrade.bats @@ -9,6 +9,7 @@ setup_file(){ teardown_file(){ _rm_server + _reset_recipe } setup(){