From 0f1df4b5bb367587422cb4f6f16cd344c265603c Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Mon, 5 Feb 2024 13:25:52 +0530 Subject: [PATCH] Fixed tests --- 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 24773f8e1c..ebb9ea644c 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -48,7 +48,7 @@ trait AccountBase $response = $this->client->call(Client::METHOD_POST, '/account', array_merge([ 'origin' => 'http://localhost', 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-project' => 'console', 'x-forwarded-for' => '103.152.127.250' // Test IP for denied access region ]), [ 'userId' => ID::unique(),