1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

fix server test

This commit is contained in:
Damodar Lohani 2023-07-11 02:37:58 +00:00
parent 57bdf56c3d
commit 6e505f17ff

View file

@ -77,7 +77,7 @@ class StorageServerTest extends Scope
'file' => new CURLFile(realpath(__DIR__ . '/../../../resources/logo.png'), 'image/png', 'logo.png'), 'file' => new CURLFile(realpath(__DIR__ . '/../../../resources/logo.png'), 'image/png', 'logo.png'),
]; ];
$file = $this->client->call(Client::METHOD_POST, '/graphql/upload', \array_merge([ $file = $this->client->call(Client::METHOD_POST, '/graphql', \array_merge([
'content-type' => 'multipart/form-data', 'content-type' => 'multipart/form-data',
'x-appwrite-project' => $projectId, 'x-appwrite-project' => $projectId,
], $this->getHeaders()), $gqlPayload); ], $this->getHeaders()), $gqlPayload);