mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Fixed swagger test
This commit is contained in:
1 parent
c8a5d05a3e
commit
9ba6b38014
1 file changed
+2
-2
@@ -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'));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user