diff --git a/src/Appwrite/Platform/Tasks/Specs.php b/src/Appwrite/Platform/Tasks/Specs.php index cb22457460..cafaeda247 100644 --- a/src/Appwrite/Platform/Tasks/Specs.php +++ b/src/Appwrite/Platform/Tasks/Specs.php @@ -286,11 +286,11 @@ class Specs extends Action // Mock dependencies $specsContainer = new Container(); + registerRequestResources($specsContainer); $specsContainer->set('request', fn () => $this->getRequest()); $specsContainer->set('response', fn () => $response); $specsContainer->set('dbForPlatform', fn () => new Database(new MySQL(''), new Cache(new None()))); $specsContainer->set('dbForProject', fn () => new Database(new MySQL(''), new Cache(new None()))); - registerRequestResources($specsContainer); $platforms = static::getPlatforms(); $authCounts = $this->getAuthCounts();