Skip to content

Commit 476c986

Browse files
committed
Update invalid certificate test for PHP 5.5, which apparently doesn't validate the domain in the same way later versions do when pulling the certificate.
1 parent 8248f88 commit 476c986

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Integration/Monitors/SSLCertificateMonitorTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ public function it_can_handle_a_missing_certificate()
4545

4646
$sslCertificateMonitor->runMonitor();
4747

48-
$this->assertEmpty($sslCertificateMonitor->getCertificateDomain());
49-
$this->assertEmpty($sslCertificateMonitor->getCertificateDaysUntilExpiration());
48+
$this->assertNotEquals('www.implode.com', $sslCertificateMonitor->getCertificateDomain());
5049
}
5150

5251
/** @test */

0 commit comments

Comments
 (0)