mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge remote-tracking branch 'origin/feat-mongodb-pulls' into feat-mongodb-pulls
# Conflicts: # tests/e2e/Services/Databases/TablesDB/DatabasesCustomClientTest.php
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@
|
||||
"utopia-php/cache": "0.13.*",
|
||||
"utopia-php/cli": "0.15.*",
|
||||
"utopia-php/config": "0.2.*",
|
||||
"utopia-php/database": "dev-feat-mongo-tmp-with-uuid7 as 0.73.0",
|
||||
"utopia-php/database": "dev-feat-mongo-tmp-pulls as 1.4.6",
|
||||
"utopia-php/detector": "0.1.*",
|
||||
"utopia-php/domains": "0.8.*",
|
||||
"utopia-php/dns": "0.3.*",
|
||||
|
||||
Generated
+345
-235
File diff suppressed because it is too large
Load Diff
@@ -91,6 +91,7 @@ services:
|
||||
- ./dev:/usr/src/code/dev
|
||||
- ./vendor/utopia-php/mongo/src:/usr/src/code/vendor/utopia-php/mongo/src
|
||||
- ./vendor/utopia-php/database/src:/usr/src/code/vendor/utopia-php/database/src
|
||||
|
||||
depends_on:
|
||||
- ${_APP_DB_HOST:-mongodb}
|
||||
- redis
|
||||
@@ -102,6 +103,7 @@ services:
|
||||
environment:
|
||||
- _APP_ENV
|
||||
- _APP_EDITION
|
||||
- _APP_DB_ADAPTER=mariadb
|
||||
- _APP_WORKER_PER_CORE
|
||||
- _APP_LOCALE
|
||||
- _APP_COMPRESSION_MIN_SIZE_BYTES
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false"
|
||||
stopOnFailure="true"
|
||||
>
|
||||
<extensions>
|
||||
<extension class="Appwrite\Tests\TestHook" />
|
||||
|
||||
@@ -492,12 +492,9 @@ trait DatabasesBase
|
||||
|
||||
$this->assertEquals(400, $attribute['headers']['status-code']);
|
||||
|
||||
$maxLengthMeg = 76;
|
||||
if($this->isMongoDB()){
|
||||
$maxLengthMeg = 1024;
|
||||
}
|
||||
$maxLength = $this->isMongoDB() ? 1024 : 768;
|
||||
|
||||
$this->assertStringContainsString('Index length is longer than the maximum: '.$maxLengthMeg, $attribute['body']['message']);
|
||||
$this->assertStringContainsString('Index length is longer than the maximum: '.$maxLength, $attribute['body']['message']);
|
||||
}
|
||||
|
||||
public function testUpdateAttributeEnum(): void
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -234,7 +234,6 @@ class DatabasesCustomClientTest extends Scope
|
||||
$this->markTestSkipped('MongoDB is not supported for this test');
|
||||
}
|
||||
|
||||
|
||||
$database = $this->client->call(Client::METHOD_POST, '/tablesdb', [
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
|
||||
Reference in New Issue
Block a user