diff --git a/phpunit.xml b/phpunit.xml index e2876bb486..53dac2e0a3 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -5,7 +5,7 @@ bootstrap="app/init.php" colors="true" processIsolation="false" - stopOnFailure="false" + stopOnFailure="true" cacheDirectory=".phpunit.cache" > diff --git a/src/Appwrite/Migration/Migration.php b/src/Appwrite/Migration/Migration.php index 519f05de2c..f1cfb9ec87 100644 --- a/src/Appwrite/Migration/Migration.php +++ b/src/Appwrite/Migration/Migration.php @@ -91,6 +91,7 @@ abstract class Migration '1.7.4' => 'V22', '1.8.0' => 'V23', '1.8.1' => 'V23', + '1.10.0' => 'V23', ]; /** diff --git a/tests/e2e/Services/Databases/DatabasesBase.php b/tests/e2e/Services/Databases/DatabasesBase.php index 83107773ff..26b66e268b 100644 --- a/tests/e2e/Services/Databases/DatabasesBase.php +++ b/tests/e2e/Services/Databases/DatabasesBase.php @@ -3532,11 +3532,12 @@ trait DatabasesBase $this->assertEquals(200, $response['headers']['status-code']); + /** + * todo:shmuel move this tests please + */ /** * Use specific X-Appwrite-Response-Format 1.8.0 */ - shmuel fix this - $response = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $document['$collectionId'] . '/documents', array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], diff --git a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php index 8cc9053ab6..4627613d96 100644 --- a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php +++ b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php @@ -397,7 +397,9 @@ class ProjectsConsoleClientTest extends Scope $this->assertEquals(400, $response['headers']['status-code']); - check this + /** + * todo: shmuel move this + */ /** * Test old version select queries are failing */ @@ -432,8 +434,6 @@ class ProjectsConsoleClientTest extends Scope $this->assertArrayHasKey('$id', $project); $this->assertArrayHasKey('name', $project); $this->assertArrayNotHasKey('platforms', $project); - - return $data; } #[Group('projectsCRUD')]