Merge pull request #11051 from appwrite/fix-resources

This commit is contained in:
Darshan 2025-12-31 15:25:55 +05:30 committed by GitHub
commit dfd5965d25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -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;
} }

View file

@ -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
*/ */