mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: tests
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="true"
|
||||
stopOnFailure="false"
|
||||
>
|
||||
<extensions>
|
||||
<extension class="Appwrite\Tests\TestHook" />
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user