From a901d75e596e5ca7ab0cb4ca8db35bda5306fef5 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 18 Feb 2013 14:47:40 +0100 Subject: [PATCH] change test bootstrap using Thelia general bootstrap --- core/lib/Thelia/Tests/bootstrap.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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");