mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Initialize stream in test
This commit is contained in:
parent
eb4e7ceae1
commit
e58994d196
|
|
@ -10,10 +10,15 @@ ini_set('error_log', __DIR__ . '/error.log');
|
|||
$grav = function() {
|
||||
Grav::resetInstance();
|
||||
$grav = Grav::instance();
|
||||
$grav['config']->init();
|
||||
$grav['streams'];
|
||||
$grav['plugins']->init();
|
||||
$grav['themes']->init();
|
||||
|
||||
$grav['uri']->init();
|
||||
$grav['debugger']->init();
|
||||
$grav['assets']->init();
|
||||
|
||||
$grav['config']->set('system.cache.enabled', false);
|
||||
$grav['locator']->addPath('tests', '', 'tests', false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user