Skip to content

Commit

Permalink
tests: add test for --no-restart to unlink tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Diaz-Gonzalez committed Feb 21, 2023
1 parent e1c357e commit d2f5266
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/service_unlink.bats
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,9 @@ teardown() {
config=$(dokku config:get my-app STATSD_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
}

0 comments on commit d2f5266

Please sign in to comment.