summaryrefslogtreecommitdiff
path: root/tests/units/Export
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 19:48:22 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 19:48:22 -0400
commit14713b0ec7ed93ca45578da069ad4e19a7d8addf (patch)
tree79972d53f6091a1ddb17f64a6a05a5523f5d5168 /tests/units/Export
parent936376ffe74c583d3cb819e98f53a85137fdf8bc (diff)
Rename all models
Diffstat (limited to 'tests/units/Export')
-rw-r--r--tests/units/Export/TaskExportTest.php16
-rw-r--r--tests/units/Export/TransitionExportTest.php12
2 files changed, 14 insertions, 14 deletions
diff --git a/tests/units/Export/TaskExportTest.php b/tests/units/Export/TaskExportTest.php
index f0637c25..c142cde9 100644
--- a/tests/units/Export/TaskExportTest.php
+++ b/tests/units/Export/TaskExportTest.php
@@ -2,21 +2,21 @@
require_once __DIR__ . '/../Base.php';
-use Kanboard\Model\TaskCreation;
+use Kanboard\Model\TaskCreationModel;
use Kanboard\Export\TaskExport;
-use Kanboard\Model\Project;
-use Kanboard\Model\Category;
-use Kanboard\Model\Swimlane;
+use Kanboard\Model\ProjectModel;
+use Kanboard\Model\CategoryModel;
+use Kanboard\Model\SwimlaneModel;
class TaskExportTest extends Base
{
public function testExport()
{
- $tc = new TaskCreation($this->container);
- $p = new Project($this->container);
- $c = new Category($this->container);
+ $tc = new TaskCreationModel($this->container);
+ $p = new ProjectModel($this->container);
+ $c = new CategoryModel($this->container);
$e = new TaskExport($this->container);
- $s = new Swimlane($this->container);
+ $s = new SwimlaneModel($this->container);
$this->assertEquals(1, $p->create(array('name' => 'Export Project')));
diff --git a/tests/units/Export/TransitionExportTest.php b/tests/units/Export/TransitionExportTest.php
index 7ff3082e..ee195ad1 100644
--- a/tests/units/Export/TransitionExportTest.php
+++ b/tests/units/Export/TransitionExportTest.php
@@ -2,18 +2,18 @@
require_once __DIR__ . '/../Base.php';
-use Kanboard\Model\TaskCreation;
-use Kanboard\Model\Transition;
+use Kanboard\Model\TaskCreationModel;
+use Kanboard\Model\TransitionModel;
use Kanboard\Export\TransitionExport;
-use Kanboard\Model\Project;
+use Kanboard\Model\ProjectModel;
class TransitionExportTest extends Base
{
public function testExport()
{
- $projectModel = new Project($this->container);
- $taskCreationModel = new TaskCreation($this->container);
- $transitionModel = new Transition($this->container);
+ $projectModel = new ProjectModel($this->container);
+ $taskCreationModel = new TaskCreationModel($this->container);
+ $transitionModel = new TransitionModel($this->container);
$transitionExportModel = new TransitionExport($this->container);
$this->assertEquals(1, $projectModel->create(array('name' => 'test')));