diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-09 20:39:45 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-09 20:39:45 +0200 |
commit | 9bde377bbe85617dde280af985e033cf7de61803 (patch) | |
tree | 2d2c080a86542206f862bd6d1c14ce622aa225a8 /tests/units/Base.php | |
parent | ef95c7c28479a22e41fff35a893f05eb084e1f2c (diff) |
Start to implement task history and project activity
Diffstat (limited to 'tests/units/Base.php')
-rw-r--r-- | tests/units/Base.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/units/Base.php b/tests/units/Base.php index 0d721e3d..c1702c61 100644 --- a/tests/units/Base.php +++ b/tests/units/Base.php @@ -28,7 +28,9 @@ require_once __DIR__.'/../../app/Core/Tool.php'; require_once __DIR__.'/../../app/Core/Listener.php'; require_once __DIR__.'/../../app/Core/Event.php'; require_once __DIR__.'/../../app/Core/Translator.php'; +require_once __DIR__.'/../../app/Core/Template.php'; require_once __DIR__.'/../../app/translator.php'; +require_once __DIR__.'/../../app/helpers.php'; require_once __DIR__.'/../../app/Model/Base.php'; require_once __DIR__.'/../../app/Model/Task.php'; @@ -41,6 +43,7 @@ require_once __DIR__.'/../../app/Model/Action.php'; require_once __DIR__.'/../../app/Model/Category.php'; require_once __DIR__.'/../../app/Model/SubTask.php'; require_once __DIR__.'/../../app/Model/File.php'; +require_once __DIR__.'/../../app/Model/TaskHistory.php'; require_once __DIR__.'/../../app/Action/Base.php'; require_once __DIR__.'/../../app/Action/TaskClose.php'; @@ -55,6 +58,8 @@ abstract class Base extends PHPUnit_Framework_TestCase { public function setUp() { + date_default_timezone_set('UTC'); + $this->registry = new \Core\Registry; $this->registry->db = $this->getDbConnection(); $this->registry->event = new \Core\Event; |