From ce8fe76a96958cad4148a559476cb700a5dbf55e Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Fri, 12 Jan 2024 01:32:48 +0530 Subject: [PATCH] Fix tests --- tests/e2e/Services/Account/AccountCustomClientTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/Services/Account/AccountCustomClientTest.php b/tests/e2e/Services/Account/AccountCustomClientTest.php index 721a16b2b2..9cbd4227fb 100644 --- a/tests/e2e/Services/Account/AccountCustomClientTest.php +++ b/tests/e2e/Services/Account/AccountCustomClientTest.php @@ -804,7 +804,7 @@ class AccountCustomClientTest extends Scope public function testCreateSessionWithPhone(array $data): array { $id = $data['id'] ?? ''; - $token = $data['token'] ?? ''; + $token = explode(" ", $data['token'])[0] ?? ''; $number = $data['number'] ?? ''; /**