fix: use queueForEvents in users

This commit is contained in:
loks0n
2023-10-23 11:32:09 +01:00
parent 1343d4851a
commit a67ca55af5
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -241,8 +241,8 @@ trait UsersBase
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()));
$this->assertEquals($token['headers']['status-code'], 201);
$this->assertEquals($token['body']['userId'], $data['userId']);
$this->assertEquals(201, $token['headers']['status-code']);
$this->assertEquals($data['userId'], $token['body']['userId']);
$this->assertNotEmpty($token['body']['secret']);
$this->assertNotEmpty($token['body']['expire']);