add GPL V3
add specific bootstrap for unit tests
This commit is contained in:
@@ -47,6 +47,7 @@ class TlogTest extends \PHPUnit_Framework_TestCase
|
||||
->will($this->returnValue($configModel));
|
||||
$containerMock->expects($this->any())
|
||||
->method("getParameter")
|
||||
->with($this->stringContains("logger.class"))
|
||||
->will($this->returnValue("Thelia\Log\Tlog"));
|
||||
|
||||
|
||||
|
||||
9
core/lib/Thelia/Tests/bootstrap.php
Normal file
9
core/lib/Thelia/Tests/bootstrap.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
*
|
||||
* @file
|
||||
* Functions needed for Thelia bootstrap
|
||||
*/
|
||||
define('THELIA_ROOT', __DIR__ .'/../../../../');
|
||||
$loader = require __DIR__ . '/../../../autoload.php';
|
||||
Reference in New Issue
Block a user