diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-07 18:36:16 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-07 18:36:16 -0500 |
commit | fa6d19928abcfa03861e264222dbe46ad2fdc15a (patch) | |
tree | 598861577bba3a0a65e0bd47eecfb29f11f167ae /tests/units | |
parent | f83fc5bee4b93f1209bce14d1d7eaa50fdc6870b (diff) |
Rename subtask model
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/SubtaskTest.php | 4 | ||||
-rw-r--r-- | tests/units/TimeTrackingTest.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/units/SubtaskTest.php b/tests/units/SubtaskTest.php index 1f6ad8ab..62475186 100644 --- a/tests/units/SubtaskTest.php +++ b/tests/units/SubtaskTest.php @@ -4,7 +4,7 @@ require_once __DIR__.'/Base.php'; use Model\Task; use Model\TaskCreation; -use Model\SubTask; +use Model\Subtask; use Model\Project; use Model\Category; use Model\User; @@ -14,7 +14,7 @@ class SubTaskTest extends Base public function testDuplicate() { $tc = new TaskCreation($this->container); - $s = new SubTask($this->container); + $s = new Subtask($this->container); $p = new Project($this->container); // We create a project diff --git a/tests/units/TimeTrackingTest.php b/tests/units/TimeTrackingTest.php index 6cf28eee..447f1c96 100644 --- a/tests/units/TimeTrackingTest.php +++ b/tests/units/TimeTrackingTest.php @@ -2,7 +2,7 @@ require_once __DIR__.'/Base.php'; -use Model\SubTask; +use Model\Subtask; use Model\TaskModification; use Model\TaskCreation; use Model\TaskFinder; @@ -17,7 +17,7 @@ class TimeTrackingTest extends Base $tc = new TaskCreation($this->container); $tf = new TaskFinder($this->container); $p = new Project($this->container); - $s = new SubTask($this->container); + $s = new Subtask($this->container); $ts = new TimeTracking($this->container); $this->assertEquals(1, $p->create(array('name' => 'Project #1'))); |