fix(tests) remove sleep before fetching emails

This commit is contained in:
Torsten Dittmann
2020-06-14 01:04:40 +02:00
parent 5c364f9e94
commit 39edab15ca
2 changed files with 0 additions and 6 deletions
@@ -659,8 +659,6 @@ trait AccountBase
$this->assertEquals(2, $response['body']['type']);
$this->assertIsNumeric($response['body']['expire']);
sleep(1);
$lastEmail = $this->getLastEmail();
$this->assertEquals($email, $lastEmail['to'][0]['address']);
@@ -953,8 +951,6 @@ trait AccountBase
$this->assertEquals(3, $response['body']['type']);
$this->assertIsNumeric($response['body']['expire']);
sleep(1);
$lastEmail = $this->getLastEmail();
$this->assertEquals($email, $lastEmail['to'][0]['address']);
@@ -65,8 +65,6 @@ trait TeamsBaseClient
$this->assertIsInt($response['body']['joined']);
$this->assertEquals(false, $response['body']['confirm']);
sleep(1);
$lastEmail = $this->getLastEmail();
$this->assertEquals($email, $lastEmail['to'][0]['address']);