summaryrefslogtreecommitdiff
path: root/tests/units/Pagination
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-03-12 23:26:38 -0400
committerFrederic Guillot <fred@kanboard.net>2017-03-12 23:26:38 -0400
commitf6319e295bc92a3f137a72a5d258b7e257864acf (patch)
tree4e0aee1ab836989007f62076db2f1f2e1d577b83 /tests/units/Pagination
parent6e4c40bafc1727125edfda5b508c8f431db7ddcd (diff)
Make sure that tasks are sorted in test case
Diffstat (limited to 'tests/units/Pagination')
-rw-r--r--tests/units/Pagination/DashboardPaginationTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Pagination/DashboardPaginationTest.php b/tests/units/Pagination/DashboardPaginationTest.php
index 92b5ac6f..6b0a40fb 100644
--- a/tests/units/Pagination/DashboardPaginationTest.php
+++ b/tests/units/Pagination/DashboardPaginationTest.php
@@ -63,7 +63,7 @@ class DashboardPaginationTest extends Base
$this->assertTrue($projectUserRoleModel->addUser(1, 2, Role::PROJECT_MEMBER));
$this->assertTrue($projectUserRoleModel->addUser(2, 2, Role::PROJECT_MEMBER));
- $this->assertEquals(1, $taskCreationModel->create(array('title' => 'Task #1', 'project_id' => 2)));
+ $this->assertEquals(1, $taskCreationModel->create(array('title' => 'Task #1', 'project_id' => 2, 'priority' => 3)));
$this->assertEquals(2, $taskCreationModel->create(array('title' => 'Task #2', 'project_id' => 1, 'column_id' => 2, 'owner_id' => 2)));
$this->assertEquals(3, $taskCreationModel->create(array('title' => 'Task #3', 'project_id' => 2, 'owner_id' => 2)));