From a2cc6b84d6498181e0f9889afc8c3a95d0a96034 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 2 Dec 2022 10:47:40 -0500 Subject: [PATCH] fix: use assert_output_contains so as not to worry about order --- tests/unit/test_helper.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_helper.bash b/tests/unit/test_helper.bash index 444280bdd..36e516c5b 100644 --- a/tests/unit/test_helper.bash +++ b/tests/unit/test_helper.bash @@ -306,7 +306,9 @@ assert_urls() { echo "urls: $(dokku urls $TEST_APP)" echo "output: $output" echo "status: $status" - assert_output "$urls" + for url in "$@"; do + assert_output_contains "$url" + done } deploy_app() {