From 6e5f7c15af67b5ab1d709f217d17f5a7411e507f Mon Sep 17 00:00:00 2001 From: Dirk Date: Wed, 11 Jul 2018 17:14:29 +0200 Subject: [PATCH] Make Travis CI shut up. A soon-to-be-expired cert can be also HIGH, thus a test for critical is appropriate. --- t/31_badssl.com.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/31_badssl.com.t b/t/31_badssl.com.t index 716e64b..1952f5e 100755 --- a/t/31_badssl.com.t +++ b/t/31_badssl.com.t @@ -47,7 +47,7 @@ foreach my $f ( @$json ) { if ( $f->{id} eq "cert_expiration_status" ) { $found = 1; like($f->{finding},qr/days/,"Finding doesn't read expired."); $tests++; - isnt($f->{severity}, "HIGH", "Severity should be OK or MEDIUM"); $tests++; + isnt($f->{severity}, "CRITICAL", "Severity should be OK, MEDIUM or HIGH"); $tests++; last; } }