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.
This commit is contained in:
premtsd-code
2026-05-21 08:41:04 +01:00
committed by Prem Palanisamy
parent 52318bcf41
commit e33daecfc7
@@ -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']);
}
/**