From f39ae192b355c3a5889c5b0b2b86f1577c412a25 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 25 Feb 2023 00:47:25 -0500 Subject: [PATCH] tests: link service before unlinking --- tests/service_unlink.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/service_unlink.bats b/tests/service_unlink.bats index d5b7bc4..5899e5d 100755 --- a/tests/service_unlink.bats +++ b/tests/service_unlink.bats @@ -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"