From 5dc65ea374bdc8f0c42bc52b1daf927c5a2bdb0a Mon Sep 17 00:00:00 2001 From: Prateek Banga Date: Fri, 2 Jun 2023 15:15:06 +0530 Subject: [PATCH] fix updated test case to check if expire is valid iso string or not --- tests/e2e/Services/Account/AccountBase.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/e2e/Services/Account/AccountBase.php b/tests/e2e/Services/Account/AccountBase.php index c4401d6c6f..b08686fa48 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -308,8 +308,7 @@ trait AccountBase $this->assertEquals(true, $response['body']['sessions'][0]['current']); - $this->assertEquals(true, $response['body']['sessions'][0]['expire']); - + $this->assertNotFalse(\DateTime::createFromFormat('Y-m-d\TH:i:s.uP', $response['body']['sessions'][0]['expire'])); /** * Test for FAILURE */