From 4b0aec26b6bba25fa913720f44fade36fab4a46e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 27 Feb 2024 13:51:28 -0500 Subject: [PATCH] tests: update tests to account for off being the value used elsewhere --- tests/unit/nginx-vhosts_9.bats | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/nginx-vhosts_9.bats b/tests/unit/nginx-vhosts_9.bats index 143238aee..c9af495e1 100644 --- a/tests/unit/nginx-vhosts_9.bats +++ b/tests/unit/nginx-vhosts_9.bats @@ -60,7 +60,7 @@ teardown() { run /bin/bash -c "dokku nginx:show-config $TEST_APP" echo "output: $output" echo "status: $status" - assert_output_contains "off;" + assert_output_contains "access_log off;" run /bin/bash -c "dokku nginx:set $TEST_APP access-log-path" echo "output: $output" @@ -75,7 +75,7 @@ teardown() { run /bin/bash -c "dokku nginx:show-config $TEST_APP" echo "output: $output" echo "status: $status" - assert_output_contains "off;" 0 + assert_output_contains "access_log off;" 0 run /bin/bash -c "dokku nginx:set $TEST_APP error-log-path off" echo "output: $output" @@ -90,7 +90,7 @@ teardown() { run /bin/bash -c "dokku nginx:show-config $TEST_APP" echo "output: $output" echo "status: $status" - assert_output_contains "off;" + assert_output_contains "error_log off;" run /bin/bash -c "dokku nginx:set $TEST_APP error-log-path" echo "output: $output" @@ -105,7 +105,7 @@ teardown() { run /bin/bash -c "dokku nginx:show-config $TEST_APP" echo "output: $output" echo "status: $status" - assert_output_contains "off;" 0 + assert_output_contains "error_log off;" 0 } @test "(nginx-vhosts) access-log-format" {