From 69c1fe8027abe3fb6afaa94b46307ad61cfeadde Mon Sep 17 00:00:00 2001 From: josegonzalez Date: Mon, 23 Jan 2023 12:22:09 -0500 Subject: [PATCH] fix: update counts --- tests/unit/nginx-vhosts_6.bats | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/nginx-vhosts_6.bats b/tests/unit/nginx-vhosts_6.bats index 0e01a5b3e..41a69f87f 100644 --- a/tests/unit/nginx-vhosts_6.bats +++ b/tests/unit/nginx-vhosts_6.bats @@ -30,7 +30,7 @@ teardown() { echo "output: $output" echo "status: $status" assert_success - assert_output_contains "Enabling HSTS" + assert_output_contains "Enabling HSTS" 2 run /bin/bash -c "test -f $HSTS_CONF" echo "output: $output" @@ -113,7 +113,7 @@ teardown() { echo "output: $output" echo "status: $status" assert_success - assert_output_contains "Enabling HSTS" + assert_output_contains "Enabling HSTS" 2 # disable hsts globally run /bin/bash -c "dokku nginx:set --global hsts false" @@ -139,7 +139,7 @@ teardown() { echo "output: $output" echo "status: $status" assert_success - assert_output_contains "Enabling HSTS" 1 + assert_output_contains "Enabling HSTS" 2 # set global value to default run /bin/bash -c "dokku nginx:set --global hsts" @@ -152,7 +152,7 @@ teardown() { echo "output: $output" echo "status: $status" assert_success - assert_output_contains "Enabling HSTS" 1 + assert_output_contains "Enabling HSTS" 2 } @test "(nginx-vhosts) nginx:set bind-address" {