Fixed swagger test

This commit is contained in:
Eldad Fux committed 2021-04-20 00:17:42 +03:00
1 parent c8a5d05a3e
commit 9ba6b38014
1 file changed
+2 -2
+2 -2
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'));
}