1
0
Fork 0
mirror of synced 2024-10-02 02:07:04 +13:00

Fixed test

This commit is contained in:
Eldad Fux 2023-12-19 23:31:45 +01:00
parent ed999031d0
commit cac0b0b5e4

View file

@ -585,7 +585,7 @@ class ProjectsConsoleClientTest extends Scope
{
$id = $data['projectId'];
$email = 'mailer@appwrite.io';
$response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $id . '/smtp/tests', array_merge([
$response = $this->client->call(Client::METHOD_POST, '/projects/' . $id . '/smtp/tests', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [