mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: realtime test.
This commit is contained in:
@@ -415,7 +415,8 @@ class RealtimeCustomClientTest extends Scope
|
||||
$this->assertContains("users.*", $response['data']['events']);
|
||||
|
||||
$lastEmail = $this->getLastEmail();
|
||||
$verification = substr($lastEmail['text'], strpos($lastEmail['text'], '&secret=', 0) + 8, 256);
|
||||
$tokens = $this->extractQueryParamsFromEmailLink($lastEmail['html']);
|
||||
$verification = $tokens['secret'];
|
||||
|
||||
/**
|
||||
* Test Account Verification Complete
|
||||
|
||||
Reference in New Issue
Block a user