tests: ignore case where app is already deleted

This commit is contained in:
Jose Diaz-Gonzalez
2023-02-08 02:22:08 -05:00
parent 39a1a3d0eb
commit 0e1de70294

View File

@@ -10,7 +10,7 @@ setup() {
teardown() {
dokku "$PLUGIN_COMMAND_PREFIX:unlink" ls my-app >&2
dokku --force "$PLUGIN_COMMAND_PREFIX:destroy" ls
dokku --force apps:destroy my-app
dokku --force apps:destroy my-app || true
}
@test "($PLUGIN_COMMAND_PREFIX:hook:pre-delete) removes app from links file when destroying app" {