mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Update QR code avatar test to use fixed file size instead of file read
Co-authored-by: jakeb994 <jakeb994@gmail.com>
This commit is contained in:
parent
5dc50898a5
commit
969e9cfa1e
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ trait AvatarsBase
|
|||
$this->assertEquals(400, $image->getImageWidth());
|
||||
$this->assertEquals(400, $image->getImageHeight());
|
||||
$this->assertEquals('PNG', $image->getImageFormat());
|
||||
$this->assertEquals(strlen(\file_get_contents(__DIR__ . '/../../../resources/qr/qr-default.png')), strlen($response['body']));
|
||||
$this->assertEquals(9086, strlen($response['body']));
|
||||
|
||||
$response = $this->client->call(Client::METHOD_GET, '/avatars/qr', [
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue