Revisiones
This commit is contained in:
@ -171,8 +171,8 @@ spl_autoload_register(function($className) {
|
||||
});
|
||||
|
||||
$bootstrap = new TestBootstrap($_ENV);
|
||||
$resetDatabase = ($_ENV['RESET_DATABASE'] === 'true') ?? false;
|
||||
$debug = ($_ENV['DEBUG'] === 'true') ?? false;
|
||||
$resetDatabase = (array_key_exists('RESET_DATABASE', $_ENV) and $_ENV['RESET_DATABASE'] === 'true') ?? false;
|
||||
$debug = (array_key_exists('DEBUG', $_ENV) and $_ENV['DEBUG'] === 'true') ?? false;
|
||||
|
||||
Benchmark::execute([$bootstrap, 'run'], ['debug' => $debug]);
|
||||
Benchmark::print();
|
||||
|
Reference in New Issue
Block a user