Fix tests
This commit is contained in:
parent
5327c02870
commit
6da4a82825
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ trait TeamsBaseClient
|
||||||
$this->assertEquals(200, $response['headers']['status-code']);
|
$this->assertEquals(200, $response['headers']['status-code']);
|
||||||
$this->assertIsInt($response['body']['total']);
|
$this->assertIsInt($response['body']['total']);
|
||||||
$this->assertNotEmpty($response['body']['memberships'][0]['$id']);
|
$this->assertNotEmpty($response['body']['memberships'][0]['$id']);
|
||||||
$this->assertNotEmpty($response['body']['memberships'][0]['mfa']);
|
$this->assertFalse($response['body']['memberships'][0]['mfa']);
|
||||||
$this->assertEquals($this->getUser()['name'], $response['body']['memberships'][0]['userName']);
|
$this->assertEquals($this->getUser()['name'], $response['body']['memberships'][0]['userName']);
|
||||||
$this->assertEquals($this->getUser()['email'], $response['body']['memberships'][0]['userEmail']);
|
$this->assertEquals($this->getUser()['email'], $response['body']['memberships'][0]['userEmail']);
|
||||||
$this->assertEquals($teamName, $response['body']['memberships'][0]['teamName']);
|
$this->assertEquals($teamName, $response['body']['memberships'][0]['teamName']);
|
||||||
|
@ -156,7 +156,7 @@ trait TeamsBaseClient
|
||||||
|
|
||||||
$this->assertEquals(200, $response['headers']['status-code']);
|
$this->assertEquals(200, $response['headers']['status-code']);
|
||||||
$this->assertNotEmpty($response['body']['$id']);
|
$this->assertNotEmpty($response['body']['$id']);
|
||||||
$this->assertNotEmpty($response['body']['mfa']);
|
$this->assertFalse($response['body']['mfa']);
|
||||||
$this->assertNotEmpty($response['body']['userId']);
|
$this->assertNotEmpty($response['body']['userId']);
|
||||||
$this->assertNotEmpty($response['body']['userName']);
|
$this->assertNotEmpty($response['body']['userName']);
|
||||||
$this->assertNotEmpty($response['body']['userEmail']);
|
$this->assertNotEmpty($response['body']['userEmail']);
|
||||||
|
|
|
@ -51,7 +51,7 @@ trait TeamsBaseServer
|
||||||
$this->assertEquals(200, $response['headers']['status-code']);
|
$this->assertEquals(200, $response['headers']['status-code']);
|
||||||
$this->assertNotEmpty($response['body']['$id']);
|
$this->assertNotEmpty($response['body']['$id']);
|
||||||
$this->assertNotEmpty($response['body']['userId']);
|
$this->assertNotEmpty($response['body']['userId']);
|
||||||
$this->assertNotEmpty($response['body']['mfa']);
|
$this->assertFalse($response['body']['mfa']);
|
||||||
$this->assertNotEmpty($response['body']['userName']);
|
$this->assertNotEmpty($response['body']['userName']);
|
||||||
$this->assertNotEmpty($response['body']['userEmail']);
|
$this->assertNotEmpty($response['body']['userEmail']);
|
||||||
$this->assertNotEmpty($response['body']['teamId']);
|
$this->assertNotEmpty($response['body']['teamId']);
|
||||||
|
|
Loading…
Reference in a new issue