1
0
Fork 0
mirror of synced 2024-05-20 04:32:37 +12:00

Improve tests

This commit is contained in:
Matej Bačo 2022-11-24 12:40:17 +01:00 committed by GitHub
parent 5e872f2fe5
commit 0cb2ed14f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -342,6 +342,15 @@ trait TeamsBaseClient
$session = $this->client->parseCookie((string)$response['headers']['set-cookie'])['a_session_' . $this->getProject()['$id']];
$data['session'] = $session;
$response = $this->client->call(Client::METHOD_GET, '/account', array_merge([
'origin' => 'http://localhost',
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
'cookie' => 'a_session_' . $this->getProject()['$id'] . '=' . $session,
]));
$this->assertEquals(true, $response['body']['emailVerification']);
/** [START] TESTS TO CHECK PASSWORD UPDATE OF NEW USER CREATED USING TEAM INVITE */
/**