summaryrefslogtreecommitdiff
path: root/tests/units/Model/ColumnMoveRestrictionModelTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Model/ColumnMoveRestrictionModelTest.php')
-rw-r--r--tests/units/Model/ColumnMoveRestrictionModelTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/units/Model/ColumnMoveRestrictionModelTest.php b/tests/units/Model/ColumnMoveRestrictionModelTest.php
index 3bef6f99..c0ed18ac 100644
--- a/tests/units/Model/ColumnMoveRestrictionModelTest.php
+++ b/tests/units/Model/ColumnMoveRestrictionModelTest.php
@@ -132,8 +132,7 @@ class ColumnMoveRestrictionModelTest extends Base
$this->assertEquals(1, $columnMoveRestrictionModel->create(1, 1, 2, 3));
$this->assertEquals(2, $columnMoveRestrictionModel->create(1, 2, 3, 4));
- $this->assertTrue($columnMoveRestrictionModel->isAllowed(1, 'Role D', 1, 2));
- $this->assertTrue($columnMoveRestrictionModel->isAllowed(1, 'Role A', 1, 2));
- $this->assertFalse($columnMoveRestrictionModel->isAllowed(1, 'Role A', 2, 3));
+ $this->assertFalse($columnMoveRestrictionModel->isAllowed(1, 'Role A', 1, 2));
+ $this->assertTrue($columnMoveRestrictionModel->isAllowed(1, 'Role A', 2, 3));
}
}