1
0
Fork 0
mirror of synced 2024-05-09 15:22:33 +12:00

fix: tests

This commit is contained in:
Torsten Dittmann 2022-01-04 16:50:48 +01:00
parent 972ce959b6
commit 49e9e1b9cd
2 changed files with 1 additions and 3 deletions

View file

@ -6,7 +6,7 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true"
stopOnFailure="false"
>
<extensions>
<extension class="Appwrite\Tests\TestHook" />

View file

@ -755,7 +755,6 @@ trait AccountBase
/**
* Prefs size exceeded
*/
$prefsObject = ["longValue" => str_repeat("🍰", 100000)];
$response = $this->client->call(Client::METHOD_PATCH, '/account/prefs', array_merge([
@ -772,7 +771,6 @@ trait AccountBase
// Now let's test the same thing, but with normal symbol instead of multi-byte cake emoji
$prefsObject = ["longValue" => str_repeat("-", 100000)];
$response = $this->client->call(Client::METHOD_PATCH, '/account/prefs', array_merge([
'origin' => 'http://localhost',
'content-type' => 'application/json',