Unit tests for shared classes

This commit is contained in:
Mark Baker
2012-06-24 22:33:33 +01:00
parent 6285555c52
commit e6ebb0facf
6 changed files with 156 additions and 4 deletions
+1 -2
View File
@@ -8,8 +8,7 @@ class StringTest extends PHPUnit_Framework_TestCase
public function setUp()
{
if (!defined('PHPEXCEL_ROOT'))
{
if (!defined('PHPEXCEL_ROOT')) {
define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
}
require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');