1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +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" convertNoticesToExceptions="true"
convertWarningsToExceptions="true" convertWarningsToExceptions="true"
processIsolation="false" processIsolation="false"
stopOnFailure="true" stopOnFailure="false"
> >
<extensions> <extensions>
<extension class="Appwrite\Tests\TestHook" /> <extension class="Appwrite\Tests\TestHook" />

View file

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