Fix failing tests
This commit is contained in:
parent
cba974805d
commit
d637efb27c
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ trait AccountBase
|
|||
|
||||
$lastEmail = $this->getLastEmail();
|
||||
$this->assertEquals('otpuser@appwrite.io', $lastEmail['to'][0]['address']);
|
||||
$this->assertEquals($this->getProject()['name'] . ' Login', $lastEmail['subject']);
|
||||
$this->assertEquals('OTP for ' . $this->getProject()['name'] . ' Login', $lastEmail['subject']);
|
||||
|
||||
// FInd 6 concurrent digits in email text - OTP
|
||||
preg_match_all("/\b\d{6}\b/", $lastEmail['text'], $matches);
|
||||
|
|
Loading…
Reference in a new issue