summaryrefslogtreecommitdiff
path: root/tests/units/Model
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-10-07 08:45:18 -0400
committerFrederic Guillot <fred@kanboard.net>2016-10-07 08:45:18 -0400
commit096b000c59842d0d2995ce66b84f9ca87370473f (patch)
tree4dcc1eb4473626b6390a5d4b9002d43c92e8e015 /tests/units/Model
parent4cc856344f0105fe893c384eeec6b14036321651 (diff)
Add restriction to disable task drag and drop for a project
Diffstat (limited to 'tests/units/Model')
-rw-r--r--tests/units/Model/ProjectRoleRestrictionModelTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Model/ProjectRoleRestrictionModelTest.php b/tests/units/Model/ProjectRoleRestrictionModelTest.php
index 07473061..af0f9bf9 100644
--- a/tests/units/Model/ProjectRoleRestrictionModelTest.php
+++ b/tests/units/Model/ProjectRoleRestrictionModelTest.php
@@ -90,7 +90,7 @@ class ProjectRoleRestrictionModelTest extends Base
$projectRoleRestrictionModel = new ProjectRoleRestrictionModel($this->container);
$rules = $projectRoleRestrictionModel->getRules();
- $this->assertCount(2, $rules);
+ $this->assertCount(3, $rules);
$this->assertArrayHasKey(ProjectRoleRestrictionModel::RULE_TASK_OPEN_CLOSE, $rules);
}
}