Pass $grav to all tests through the Fixtures utility

This commit is contained in:
Flavio Copes
2016-01-06 17:30:13 +01:00
parent df3a492d3a
commit 4fdeb4902e

View File

@@ -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);