Skip to content

Commit 971132d

Browse files
committed
test: Disable old cert test
Signed-off-by: Joas Schilling <[email protected]>
1 parent 5607b54 commit 971132d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/lib/Security/CertificateTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function setUp(): void {
4646
$this->expiredCertificate = new Certificate($expiredCertificate, 'ExpiredCertificate');
4747
}
4848

49-
49+
5050
public function testBogusData() {
5151
$this->expectException(\Exception::class);
5252
$this->expectExceptionMessage('Certificate could not get parsed.');
@@ -55,7 +55,7 @@ public function testBogusData() {
5555
$certificate->getIssueDate();
5656
}
5757

58-
58+
5959
public function testCertificateStartingWithFileReference() {
6060
$this->expectException(\Exception::class);
6161
$this->expectExceptionMessage('Certificate could not get parsed.');
@@ -95,8 +95,8 @@ public function testGetExpireDate() {
9595
}
9696

9797
public function testIsExpired() {
98-
$this->assertSame(false, $this->goodCertificate->isExpired());
99-
$this->assertSame(false, $this->invalidCertificate->isExpired());
98+
// Disabled due to age $this->assertSame(false, $this->goodCertificate->isExpired());
99+
// Disabled due to age $this->assertSame(false, $this->invalidCertificate->isExpired());
100100
$this->assertSame(true, $this->expiredCertificate->isExpired());
101101
}
102102

0 commit comments

Comments
 (0)