From 794f07c3b06ff7a3d81ba532b3e48280b25654a7 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Mon, 15 Aug 2022 12:13:09 +0530 Subject: [PATCH] feat: accounts test --- tests/e2e/Services/Account/AccountBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/Services/Account/AccountBase.php b/tests/e2e/Services/Account/AccountBase.php index 283c76a34b..e4cf8fda29 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -120,7 +120,7 @@ trait AccountBase $sessionId = $response['body']['$id']; $session = $this->client->parseCookie((string)$response['headers']['set-cookie'])['a_session_' . $this->getProject()['$id']]; - $response = $this->client->call(Client::METHOD_POST, '/account/sessions', array_merge([ + $response = $this->client->call(Client::METHOD_POST, '/account/sessions/email', array_merge([ 'origin' => 'http://localhost', 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'],