fix: tests
This commit is contained in:
parent
972ce959b6
commit
49e9e1b9cd
|
@ -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" />
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue