Skip to content

Commit

Permalink
try with $_SERVER
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 committed Mar 11, 2024
1 parent 64eb74b commit 7ce5a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/_bootstrap.php
Expand Up @@ -19,8 +19,8 @@
throw new \Exception('Unknown configuration! Pimcore project root not found, please set env variable PIMCORE_PROJECT_ROOT.');
}

$_ENV['APP_ENV'] = 'test';
$_ENV['APP_DEBUG'] = true;
$_SERVER['APP_ENV'] = 'test';
$_SERVER['APP_DEBUG'] = true;


$pimcoreTestsSupportDir = $pimcoreTestDir . '/Support';
Expand Down

0 comments on commit 7ce5a14

Please sign in to comment.