Add test for expired certificate
Will only work after tomorrow
This commit is contained in:
parent
4efe6f6240
commit
4bc9980f4b
|
@ -71,9 +71,7 @@ class CertificateTest extends \PHPUnit_Framework_TestCase {
|
||||||
function testIsExpired() {
|
function testIsExpired() {
|
||||||
$this->assertSame(false, $this->goodCertificate->isExpired());
|
$this->assertSame(false, $this->goodCertificate->isExpired());
|
||||||
$this->assertSame(false, $this->invalidCertificate->isExpired());
|
$this->assertSame(false, $this->invalidCertificate->isExpired());
|
||||||
|
$this->assertSame(true, $this->expiredCertificate->isExpired());
|
||||||
// TODO: Change to false after tomorrow
|
|
||||||
$this->assertSame(false, $this->expiredCertificate->isExpired());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function testGetIssuerName() {
|
function testGetIssuerName() {
|
||||||
|
|
Loading…
Reference in New Issue