fix: add missing empty body array parameter to recovery codes API call

This commit is contained in:
Ujjwaljain16
2025-12-10 15:40:40 +05:30
parent 0215577bc7
commit fb3b3ae51e
@@ -3086,7 +3086,7 @@ class AccountCustomClientTest extends Scope
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
'cookie' => 'a_session_' . $this->getProject()['$id'] . '=' . $session,
]));
]), []);
$this->assertEquals(201, $response['headers']['status-code']);
$this->assertNotEmpty($response['body']['recoveryCodes']);