summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-08-27 16:29:42 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-31 10:47:50 +0200
commit4bc9980f4be1ed9834768b613af6a6e43dc83556 (patch)
tree39e046a8aad725c205de8e9e34782ff7ae99c3c2
parent4efe6f62402482608cb1b2f4c51b9b3e41603733 (diff)
downloadnextcloud-server-4bc9980f4be1ed9834768b613af6a6e43dc83556.tar.gz
nextcloud-server-4bc9980f4be1ed9834768b613af6a6e43dc83556.zip
Add test for expired certificate
Will only work after tomorrow
-rw-r--r--tests/lib/security/certificate.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/security/certificate.php b/tests/lib/security/certificate.php
index 694d1f27011..9ae68f2cf17 100644
--- a/tests/lib/security/certificate.php
+++ b/tests/lib/security/certificate.php
@@ -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() {