Skip to content

Commit

Permalink
tests: link service before unlinking
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Diaz-Gonzalez committed Feb 25, 2023
1 parent 6ebdab4 commit f39ae19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/service_unlink.bats
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ teardown() {
}

@test "($PLUGIN_COMMAND_PREFIX:unlink) respects --no-restart" {
run dokku "$PLUGIN_COMMAND_PREFIX:link" ls my-app
echo "output: $output"
echo "status: $status"
assert_success

run dokku "$PLUGIN_COMMAND_PREFIX:unlink" ls my-app
echo "output: $output"
echo "status: $status"
Expand Down

0 comments on commit f39ae19

Please sign in to comment.