Make Travis CI shut up.

A soon-to-be-expired cert can be also HIGH, thus a test
for critical is appropriate.
This commit is contained in:
Dirk 2018-07-11 17:14:29 +02:00
parent c0921c8877
commit 6e5f7c15af

View File

@ -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;
}
}