Finalize PR

This commit is contained in:
Matej Bačo
2026-05-11 20:22:50 +02:00
parent 36dec7c88f
commit da3a3b939a
3 changed files with 24 additions and 11 deletions
@@ -1788,16 +1788,6 @@ class ProjectsConsoleClientTest extends Scope
$data = $this->setupProjectData();
$id = $data['projectId'];
/** Ensure SMTP is disabled */
$response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $id . '/smtp', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
'x-appwrite-response-format' => '1.9.4',
], $this->getHeaders()), [
'enabled' => false,
]);
$this->assertEquals(200, $response['headers']['status-code']);
/** Get Default Email Template */
$response = $this->client->call(Client::METHOD_GET, '/projects/' . $id . '/templates/email/verification/en-us', array_merge([
'content-type' => 'application/json',