From 38d13eae73e4b32e1d0fd48d78b4d0c08f8d6c09 Mon Sep 17 00:00:00 2001 From: devydave Date: Fri, 7 Aug 2026 13:42:22 +0200 Subject: [PATCH] refactor: better variable name --- tests/integration/app_remove.bats | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/app_remove.bats b/tests/integration/app_remove.bats index 021a214d..f31500c4 100644 --- a/tests/integration/app_remove.bats +++ b/tests/integration/app_remove.bats @@ -140,22 +140,22 @@ teardown(){ _undeploy_app sanitisedDomainName="${TEST_APP_DOMAIN//./_}" - remote_execute="" + remote_ssh_command="" if _is_local; then run docker config create "${sanitisedDomainName}_test_conf_v99" "$ABRA_DIR/recipes/abra-test-recipe/abra.sh" else - remote_execute="ssh '$TEST_SERVER'" + remote_ssh_command="ssh '$TEST_SERVER'" run cat "$ABRA_DIR/recipes/abra-test-recipe/abra.sh" | ssh "$TEST_SERVER" docker config create "${sanitisedDomainName}_test_conf_v99 -" assert_success fi - assert bash -c "$remote_execute docker config ls | grep -q test_conf_v99" + assert bash -c "$remote_ssh_command docker config ls | grep -q test_conf_v99" run $ABRA app rm "$TEST_APP_DOMAIN" --no-input assert_success - refute bash -c "$remote_execute docker config ls | grep -q test_conf_v99" + refute bash -c "$remote_ssh_command docker config ls | grep -q test_conf_v99" } @test "remove .env file" {