1
0
Fork 0
mirror of synced 2024-06-30 04:00:34 +12:00

Fix graphql upload test path

This commit is contained in:
Jake Barnby 2023-05-30 19:41:06 +12:00
parent b101404eda
commit 5f5ed7dc19
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -77,7 +77,7 @@ class StorageServerTest extends Scope
'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',
'x-appwrite-project' => $projectId,
], $this->getHeaders()), $gqlPayload);