Linter fix

This commit is contained in:
Matej Bačo
2022-12-30 12:16:50 +01:00
parent ff58b8d402
commit 15be697b7c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -49,4 +49,4 @@ App::patch('/v1/project/:projectId/team')
$project = $dbForConsole->updateDocument('projects', $project->getId(), $project);
$response->dynamic($project, Response::MODEL_PROJECT);
});
});
@@ -2756,7 +2756,7 @@ class ProjectsConsoleClientTest extends Scope
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(1, $response['body']['total']);
$membership1Id = $response['body']['memberships'][0]['$id'];
$response = $this->client->call(Client::METHOD_GET, "/teams/{$team2Id}/memberships", array_merge([
@@ -2877,7 +2877,7 @@ class ProjectsConsoleClientTest extends Scope
]);
$this->assertEquals(400, $project['headers']['status-code']);
$project = $this->client->call(Client::METHOD_PATCH, "/teams/{$team2Id}/memberships/{$membership2Id}", array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],