Fix Certificates loaded tests

This commit is contained in:
Sara Aimée Smiseth 2022-05-05 18:02:11 +02:00
parent 675baa18dd
commit 388c9d67b8

View file

@ -10,7 +10,7 @@ load 'bats/bats-assert/load'
} }
@test "Should select certificate for localhost" { @test "Should select certificate for localhost" {
run bash -c "sudo docker-compose logs $batsContainerName | grep \"Certificates loaded\" | grep \"localhost:tls\" | wc -l" run bash -c "sudo docker-compose logs $batsContainerName | grep \"Certificates loaded\" | grep \" localhost:tls\" | wc -l"
assert_success assert_success
assert_output "1" assert_output "1"
} }