tests: add test for --no-restart to unlink tests

This commit is contained in:
Jose Diaz-Gonzalez
2023-02-20 23:47:03 -05:00
parent afb21619f6
commit 16fa2b1189

View File

@@ -51,3 +51,9 @@ teardown() {
config=$(dokku config:get my-app DATABASE_URL || true)
assert_equal "$config" ""
}
@test "($PLUGIN_COMMAND_PREFIX:unlink) respects --no-restart" {
run dokku "$PLUGIN_COMMAND_PREFIX:unlink" ls my-app --no-restart
assert_output_contains "Restarting app my-app" 0
assert_success
}