fix: moar integration test patches

See toolshed/organising#650
This commit is contained in:
2024-12-27 21:55:01 +01:00
parent efb3fd8759
commit 4e8995cc0e
3 changed files with 17 additions and 11 deletions

View File

@ -49,7 +49,7 @@ teardown(){
assert_equal $(_get_tag_hash 0.3.0+1.21.0) $(_get_current_hash)
run grep -q "RECIPE=$TEST_RECIPE:0.3.0+1.21.0" \
run grep -q "TYPE=$TEST_RECIPE:0.3.0+1.21.0" \
"$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env"
assert_success
}
@ -65,7 +65,7 @@ teardown(){
currentHash=$(_get_current_hash)
assert_equal 1e83340e ${currentHash:0:8}
run grep -q "RECIPE=$TEST_RECIPE:1e83340e" \
run grep -q "TYPE=$TEST_RECIPE:1e83340e" \
"$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env"
assert_success
}

View File

@ -231,8 +231,7 @@ teardown(){
run $ABRA app secret rm "$TEST_APP_DOMAIN" test_pass_one --all
assert_failure
assert_output --partial 'cannot use'
assert_output --partial "'--all' together"
assert_output --regexp 'cannot use .* together'
}
@test "rm: single secret no match" {