register resources

This commit is contained in:
Chirag Aggarwal
2026-03-19 17:37:47 +05:30
parent e6090800e2
commit ecb8104340
+1 -1
View File
@@ -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();