1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +12:00

Fixed swagger test

This commit is contained in:
Eldad Fux 2021-04-20 00:17:42 +03:00
parent c8a5d05a3e
commit 9ba6b38014

View file

@ -117,7 +117,7 @@ class HTTPTest extends Scope
$response['body'] = json_decode($response['body'], true);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertFalse(isset($response['body']['messages']));
$this->assertTrue(empty($response['body']));
unlink(realpath(__DIR__ . '/../../resources/swagger2.json'));
}
@ -145,7 +145,7 @@ class HTTPTest extends Scope
$response['body'] = json_decode($response['body'], true);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertFalse(isset($response['body']['messages']));
$this->assertTrue(empty($response['body']));
unlink(realpath(__DIR__ . '/../../resources/open-api3.json'));
}