From e58994d196d863fdaeb11fa423e8696e9307ff7a Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Thu, 14 Apr 2016 19:25:35 +0200 Subject: [PATCH] Initialize stream in test --- tests/_bootstrap.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php index f1e16e5f2..c9006a18a 100644 --- a/tests/_bootstrap.php +++ b/tests/_bootstrap.php @@ -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);