fix bootstrap for unit test

This commit is contained in:
Manuel Raynaud
2013-04-04 12:18:18 +02:00
parent 3b8b787ae1
commit 29c05e53f2
4 changed files with 12 additions and 48 deletions

View File

@@ -8,6 +8,10 @@
$env = "test";
require_once __DIR__ . '/../../../bootstrap.php';
use Thelia\Core\Thelia;
$thelia = new Thelia("test", true);
\Propel::init(THELIA_ROOT . "/core/lib/Thelia/Tests/Db/thelia-conf.php");