mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix(tests) remove sleep before fetching emails
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user