mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
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:
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']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user