Merge pull request #11246 from appwrite/fix/phpunit-bootstrap-global-register

This commit is contained in:
Chirag Aggarwal 2026-02-04 16:11:24 +05:30 committed by GitHub
commit b1409e5e8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,6 +31,7 @@ use Utopia\Queue;
use Utopia\Registry\Registry;
use Utopia\System\System;
global $register;
$register = new Registry();
Http::setMode(System::getEnv('_APP_ENV', Http::MODE_TYPE_PRODUCTION));