diff --git a/tests/e2e/Services/Account/AccountBase.php b/tests/e2e/Services/Account/AccountBase.php index 97ca751035..794f6f2577 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -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']); diff --git a/tests/e2e/Services/Teams/TeamsBaseClient.php b/tests/e2e/Services/Teams/TeamsBaseClient.php index de0a140ec4..ceb0d86e5c 100644 --- a/tests/e2e/Services/Teams/TeamsBaseClient.php +++ b/tests/e2e/Services/Teams/TeamsBaseClient.php @@ -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']);