From e33daecfc7bca219ff8339684775c781f65f688f Mon Sep 17 00:00:00 2001 From: premtsd-code Date: Thu, 21 May 2026 08:39:44 +0100 Subject: [PATCH] Fix testCreateAppwriteMigration: statusCounters is populated after sync performMigrationSync waits for the migration to reach completed status before returning, so statusCounters is populated with success/error counts by the time the test asserts on it. Flip assertEmpty -> assertNotEmpty. --- tests/e2e/Services/Migrations/MigrationsBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/Services/Migrations/MigrationsBase.php b/tests/e2e/Services/Migrations/MigrationsBase.php index 594eed25b3..72b15d99b0 100644 --- a/tests/e2e/Services/Migrations/MigrationsBase.php +++ b/tests/e2e/Services/Migrations/MigrationsBase.php @@ -224,7 +224,7 @@ trait MigrationsBase $this->assertEquals(Appwrite::getSupportedResources(), $response['resources']); $this->assertEquals('Appwrite', $response['source']); $this->assertEquals('Appwrite', $response['destination']); - $this->assertEmpty($response['statusCounters']); + $this->assertNotEmpty($response['statusCounters']); } /**