From ca455b380efcf63ea9c52510270af7797a4612d4 Mon Sep 17 00:00:00 2001 From: gepd Date: Mon, 20 Jun 2022 14:03:15 -0400 Subject: [PATCH] Fixed linting errors --- tests/e2e/Services/Database/DatabaseBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/Services/Database/DatabaseBase.php b/tests/e2e/Services/Database/DatabaseBase.php index 0ea07f70b..17073bd89 100644 --- a/tests/e2e/Services/Database/DatabaseBase.php +++ b/tests/e2e/Services/Database/DatabaseBase.php @@ -2187,7 +2187,7 @@ trait DatabaseBase $id = $document['body']['$id']; - $document2 = $this->client->call(Client::METHOD_PATCH, '/database/collections/' . $data['moviesId'] . '/documents/'.$id, array_merge([ + $document2 = $this->client->call(Client::METHOD_PATCH, '/database/collections/' . $data['moviesId'] . '/documents/' . $id, array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ @@ -2206,7 +2206,7 @@ trait DatabaseBase $this->assertEquals($document1['body']['actors'][0], 'Chris Evans'); $this->assertEquals($document1['body']['actors'][1], 'Samuel Jackson'); - if ($this->getSide() == 'client') { + if ($this->getSide() == 'client') { $this->assertEquals($document2['headers']['status-code'], 401); }