diff --git a/core/lib/Thelia/Tests/bootstrap.php b/core/lib/Thelia/Tests/bootstrap.php index 161492aa3..9f912b1e4 100644 --- a/core/lib/Thelia/Tests/bootstrap.php +++ b/core/lib/Thelia/Tests/bootstrap.php @@ -6,9 +6,6 @@ * Functions needed for Thelia bootstrap */ $env = "test"; -define('THELIA_ROOT', __DIR__ .'/../../../../'); -$loader = require __DIR__ . '/../../../vendor/autoload.php'; - -require THELIA_ROOT . '/local/config/config_db.php'; +require_once __DIR__ . '/../../../bootstrap.php'; \Propel::init(THELIA_ROOT . "/local/config/config_thelia.php");