add GPL V3

add specific bootstrap for unit tests
This commit is contained in:
Manuel Raynaud
2013-01-07 10:46:02 +01:00
parent 5967dc2b55
commit 1016596256
5 changed files with 150 additions and 315 deletions

View File

@@ -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"));

View File

@@ -0,0 +1,9 @@
<?php
/**
*
* @file
* Functions needed for Thelia bootstrap
*/
define('THELIA_ROOT', __DIR__ .'/../../../../');
$loader = require __DIR__ . '/../../../autoload.php';