From 4fdeb4902e6eaef89950e88690dbde42cdc972bd Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Wed, 6 Jan 2016 17:30:13 +0100 Subject: [PATCH] Pass $grav to all tests through the Fixtures utility --- tests/_bootstrap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php index ce4ca11fb..7d6d980c7 100644 --- a/tests/_bootstrap.php +++ b/tests/_bootstrap.php @@ -4,6 +4,7 @@ namespace Grav; +use Codeception\Util\Fixtures; // Ensure vendor libraries exist $autoload = __DIR__ . '/../vendor/autoload.php'; @@ -36,3 +37,4 @@ $grav = Grav::instance( 'loader' => $loader ) ); +Fixtures::add('grav', $grav); \ No newline at end of file