1
0
Fork 0
mirror of synced 2024-10-06 13:16:13 +13:00

Merge pull request #8316 from appwrite/fix-flaky-cert-test

Fix flaky certificate test
This commit is contained in:
Jake Barnby 2024-06-25 13:33:50 +12:00 committed by GitHub
commit dc9f06976c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -455,7 +455,7 @@ class HealthCustomServerTest extends Scope
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals('/CN=www.google.com', $response['body']['name']);
$this->assertEquals('www.google.com', $response['body']['subjectSN']);
$this->assertEquals('Google Trust Services LLC', $response['body']['issuerOrganisation']);
$this->assertStringContainsString('Google Trust Services', $response['body']['issuerOrganisation']);
$this->assertIsInt($response['body']['validFrom']);
$this->assertIsInt($response['body']['validTo']);