From 57d21e283dfb1b6cb56251e329629d3f5b905bef Mon Sep 17 00:00:00 2001 From: Prem Palanisamy Date: Wed, 3 Jun 2026 09:57:07 +0100 Subject: [PATCH] Relax migration smoke status counters assertion --- 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 c4bfb585a2..6509a35de8 100644 --- a/tests/e2e/Services/Migrations/MigrationsBase.php +++ b/tests/e2e/Services/Migrations/MigrationsBase.php @@ -225,8 +225,8 @@ trait MigrationsBase $this->assertEquals('Appwrite', $response['source']); $this->assertEquals('Appwrite', $response['destination']); + $this->assertArrayHasKey(Resource::TYPE_API_KEY, $response['statusCounters']); $counts = $response['statusCounters'][Resource::TYPE_API_KEY]; - $this->assertEquals([Resource::TYPE_API_KEY], array_keys($response['statusCounters'])); $this->assertEquals(0, $counts['error']); $this->assertGreaterThan(0, $counts['success']); }