From 0215e3ec91d446f8d81cfafa4cc14fe63ae8f0e7 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 15 Mar 2017 03:17:31 -0600 Subject: [PATCH] fix: redirect domains:default stderr to /dev/null in tests --- tests/unit/test_helper.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_helper.bash b/tests/unit/test_helper.bash index b59841339..2614c284d 100644 --- a/tests/unit/test_helper.bash +++ b/tests/unit/test_helper.bash @@ -180,7 +180,7 @@ assert_nonssl_domain() { assert_app_domain() { local domain=$1 - run /bin/bash -c "dokku domains $TEST_APP | grep -xF ${domain}" + run /bin/bash -c "dokku domains $TEST_APP 2> /dev/null | grep -xF ${domain}" echo "output: $output" echo "status: $status" assert_output "${domain}"