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 */