diff --git a/tests/service_unlink.bats b/tests/service_unlink.bats index d7cbbec..fbe4ce5 100755 --- a/tests/service_unlink.bats +++ b/tests/service_unlink.bats @@ -51,3 +51,9 @@ teardown() { config=$(dokku config:get my-app TYPESENSE_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 +}