mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
add correct assertion
This commit is contained in:
parent
60a4266204
commit
b303bd1051
1 changed files with 1 additions and 1 deletions
|
|
@ -575,6 +575,7 @@ trait AvatarsBase
|
|||
$this->assertEquals(200, $response['headers']['status-code']);
|
||||
$this->assertEquals('image/png', $response['headers']['content-type']);
|
||||
$this->assertNotEmpty($response['body']);
|
||||
$this->assertGreaterThan(100000, strlen($response['body']));
|
||||
|
||||
$response = $this->client->call(Client::METHOD_GET, '/avatars/screenshots', [
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
|
|
@ -591,7 +592,6 @@ trait AvatarsBase
|
|||
$this->assertEquals(200, $response['headers']['status-code']);
|
||||
$this->assertEquals('image/png', $response['headers']['content-type']);
|
||||
$this->assertNotEmpty($response['body']);
|
||||
$this->assertGreaterThan(10000, strlen($response['body']));
|
||||
|
||||
/**
|
||||
* Test for FAILURE - Invalid headers parameter types
|
||||
|
|
|
|||
Loading…
Reference in a new issue