mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
Merge pull request #11051 from appwrite/fix-resources
This commit is contained in:
commit
dfd5965d25
2 changed files with 4 additions and 1 deletions
|
|
@ -200,7 +200,8 @@ class Migrations extends Action
|
||||||
default => throw new \Exception('Invalid source type'),
|
default => throw new \Exception('Invalid source type'),
|
||||||
};
|
};
|
||||||
|
|
||||||
$this->sourceReport = $migrationSource->report();
|
$resources = $migration->getAttribute('resources', []);
|
||||||
|
$this->sourceReport = $migrationSource->report($resources);
|
||||||
|
|
||||||
return $migrationSource;
|
return $migrationSource;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1851,6 +1851,8 @@ class ProjectsConsoleClientTest extends Scope
|
||||||
$sessionCookie = $response['headers']['set-cookie'];
|
$sessionCookie = $response['headers']['set-cookie'];
|
||||||
$sessionId2 = $response['body']['$id'];
|
$sessionId2 = $response['body']['$id'];
|
||||||
|
|
||||||
|
sleep(5); // fixes flaky tests.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List sessions
|
* List sessions
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue