mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #12292 from appwrite/fix-locale-tests
Fix: avatars tests
This commit is contained in:
@@ -204,7 +204,7 @@ trait AvatarsBase
|
||||
$response = $this->client->call(Client::METHOD_GET, '/avatars/image', [
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], [
|
||||
'url' => 'https://appwrite.io/images/open-graph/website.png',
|
||||
'url' => 'https://appwrite.io/images/open-graph/website.avif',
|
||||
]);
|
||||
|
||||
$this->assertEquals(200, $response['headers']['status-code']);
|
||||
@@ -216,7 +216,7 @@ trait AvatarsBase
|
||||
$response = $this->client->call(Client::METHOD_GET, '/avatars/image', [
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], [
|
||||
'url' => 'https://appwrite.io/images/open-graph/website.png',
|
||||
'url' => 'https://appwrite.io/images/open-graph/website.avif',
|
||||
'width' => 200,
|
||||
'height' => 200,
|
||||
]);
|
||||
@@ -230,7 +230,7 @@ trait AvatarsBase
|
||||
$response = $this->client->call(Client::METHOD_GET, '/avatars/image', [
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], [
|
||||
'url' => 'https://appwrite.io/images/open-graph/website.png',
|
||||
'url' => 'https://appwrite.io/images/open-graph/website.avif',
|
||||
'width' => 300,
|
||||
'height' => 300,
|
||||
'quality' => 30,
|
||||
@@ -258,7 +258,7 @@ trait AvatarsBase
|
||||
$response = $this->client->call(Client::METHOD_GET, '/avatars/image', [
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], [
|
||||
'url' => 'https://appwrite.io/images/open-graph/website.png',
|
||||
'url' => 'https://appwrite.io/images/open-graph/website.avif',
|
||||
'width' => 2001,
|
||||
'height' => 300,
|
||||
'quality' => 30,
|
||||
|
||||
Reference in New Issue
Block a user