1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

fix: failing tests

This commit is contained in:
Christy Jacob 2021-05-13 23:29:54 +05:30
parent 3704dc69e8
commit 2c838bfa77

View file

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