mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
validate data length
This commit is contained in:
parent
637bf4f231
commit
60a4266204
1 changed files with 1 additions and 0 deletions
|
|
@ -591,6 +591,7 @@ 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