test if phpunit is initialized
This commit is contained in:
@@ -33,6 +33,10 @@ class TlogTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
if (!\Propel::isInit()){
|
||||
\Propel::init(THELIA_ROOT . "/local/config/config_thelia.php");
|
||||
}
|
||||
|
||||
self::$logger = Tlog::getInstance();
|
||||
|
||||
self::$logger->setDestinations("Thelia\Log\Destination\TlogDestinationText");
|
||||
|
||||
Reference in New Issue
Block a user