1
0
Fork 0
mirror of synced 2024-07-07 15:36:19 +12:00

Fix spec tests

This commit is contained in:
Jake Barnby 2022-10-25 12:34:57 +13:00
parent 2d6974da82
commit 889db82ad4
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -164,12 +164,12 @@ class HTTPTest extends Scope
$response['body'] = json_decode($response['body'], true);
$this->assertEquals(200, $response['headers']['status-code']);
if (!empty($response['body'])) {
if (!empty($response['body']['schemaValidationMessages'])) {
\var_dump($file);
\var_dump($response['body']);
}
$this->assertEmpty($response['body']);
$this->assertEmpty($response['body']['schemaValidationMessages']);
}
}