code format

This commit is contained in:
Damodar Lohani
2023-03-10 02:46:34 +00:00
parent 8e050e3430
commit 1cd0498b15
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ return [
'sms' => [
'verification'
]
];
];
+2 -4
View File
@@ -1672,7 +1672,7 @@ App::patch('/v1/projects/:projectId/templates/sms/:type/:locale')
}
$templates = $project->getAttribute('templates', []);
$templates['sms.'.$type.'-'.$locale] = [
$templates['sms.' . $type . '-' . $locale] = [
'message' => $message
];
@@ -1710,7 +1710,7 @@ App::patch('/v1/projects/:projectId/templates/email/:type/:locale')
}
$templates = $project->getAttribute('templates', []);
$templates['email.'.$type.'-'.$locale] = [
$templates['email.' . $type . '-' . $locale] = [
'senderName' => $senderName,
'senderEmail' => $senderEmail,
'subject' => $subject,
@@ -1722,5 +1722,3 @@ App::patch('/v1/projects/:projectId/templates/email/:type/:locale')
$response->dynamic($project, Response::MODEL_PROJECT);
});
@@ -432,7 +432,8 @@ class ProjectsConsoleClientTest extends Scope
/**
* @depends testCreateProject
*/
public function testUpdateProjectSMTP($data): array {
public function testUpdateProjectSMTP($data): array
{
$id = $data['projectId'];
$response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $id . '/smtp', array_merge([
'content-type' => 'application/json',