Skip to content
Snippets Groups Projects
Commit 4bc9980f authored by Lukas Reschke's avatar Lukas Reschke Committed by Robin Appelman
Browse files

Add test for expired certificate

Will only work after tomorrow
parent 4efe6f62
No related branches found
No related tags found
No related merge requests found
......@@ -71,9 +71,7 @@ class CertificateTest extends \PHPUnit_Framework_TestCase {
function testIsExpired() {
$this->assertSame(false, $this->goodCertificate->isExpired());
$this->assertSame(false, $this->invalidCertificate->isExpired());
// TODO: Change to false after tomorrow
$this->assertSame(false, $this->expiredCertificate->isExpired());
$this->assertSame(true, $this->expiredCertificate->isExpired());
}
function testGetIssuerName() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment