From 9d9b880f59c6d3669d008b631a73c02525e5a1e8 Mon Sep 17 00:00:00 2001 From: josegonzalez Date: Mon, 23 Jan 2023 14:36:37 -0500 Subject: [PATCH] fix: correct counts --- tests/unit/nginx-vhosts_6.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/nginx-vhosts_6.bats b/tests/unit/nginx-vhosts_6.bats index 41a69f87f..5af64cdc9 100644 --- a/tests/unit/nginx-vhosts_6.bats +++ b/tests/unit/nginx-vhosts_6.bats @@ -139,7 +139,7 @@ teardown() { echo "output: $output" echo "status: $status" assert_success - assert_output_contains "Enabling HSTS" 2 + assert_output_contains "Enabling HSTS" 1 # 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" 2 + assert_output_contains "Enabling HSTS" 1 } @test "(nginx-vhosts) nginx:set bind-address" {