Core/tests/bootstrap.php
Abel 7fc7d63179 Implemented renewed unit tests.
These now work in the new construction
2016-07-07 18:29:26 +02:00

19 lines
458 B
PHP

<?php
require_once(dirname(__DIR__) . '/vendor/autoload.php');
$configurator = new FuzeWorks\Configurator();
// Set directories
$parameters = array(
'appDir' => dirname(__FILE__) . '/application',
'wwwDir' => dirname(__FILE__) . '/www'
);
$configurator->setParameters($parameters);
$configurator->setTimeZone('Europe/Amsterdam');
$configurator->setTempDirectory(__DIR__ . '/temp');
$container = $configurator->createContainer();
return $container;