From 386b4930e5ab8e904c867503e79d56d74821762f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 19 Oct 2017 16:26:15 -0700 Subject: Add tags to task export --- tests/units/Export/TaskExportTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/units/Export/TaskExportTest.php b/tests/units/Export/TaskExportTest.php index c57c5259..ca0fb8de 100644 --- a/tests/units/Export/TaskExportTest.php +++ b/tests/units/Export/TaskExportTest.php @@ -37,12 +37,13 @@ class TaskExportTest extends Base 'swimlane_id' => 2, 'title' => 'Task 2', 'date_due' => time(), + 'tags' => array('tag 1', 'tag 2'), ))); $report = $taskExport->export(1, date('Y-m-d'), date('Y-m-d')); $this->assertCount(3, $report); - $this->assertCount(23, $report[0]); + $this->assertCount(24, $report[0]); $this->assertEquals('Task Id', $report[0][0]); $this->assertEquals(1, $report[1][0]); @@ -77,5 +78,7 @@ class TaskExportTest extends Base $this->assertEquals(2.5, $report[1][20]); $this->assertEquals(0, $report[2][20]); + + $this->assertEquals('tag 1, tag 2', $report[2][23]); } } -- cgit v1.2.3