From 2c838bfa77ed797bd5e60e8663ef27ad50e2d62a Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Thu, 13 May 2021 23:29:54 +0530 Subject: [PATCH] fix: failing tests --- tests/e2e/Services/Teams/TeamsBaseClient.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/e2e/Services/Teams/TeamsBaseClient.php b/tests/e2e/Services/Teams/TeamsBaseClient.php index d5df4d4ebd..d1ced3ca11 100644 --- a/tests/e2e/Services/Teams/TeamsBaseClient.php +++ b/tests/e2e/Services/Teams/TeamsBaseClient.php @@ -157,6 +157,7 @@ trait TeamsBaseClient $this->assertIsInt($response['body']['joined']); $this->assertEquals(true, $response['body']['confirm']); $session = $this->client->parseCookie((string)$response['headers']['set-cookie'])['a_session_'.$this->getProject()['$id']]; + $data['session'] = $session; /** * New User tries to update password without old password -> SHOULD PASS @@ -212,11 +213,6 @@ trait TeamsBaseClient $this->assertEquals($response['body']['email'], $email); $this->assertEquals($response['body']['name'], $name); - var_dump($response); - - $session = $this->client->parseCookie((string)$response['headers']['set-cookie'])['a_session_'.$this->getProject()['$id']]; - $data['session'] = $session; - /** * Test for FAILURE */