Skip to content

Commit b2da3a5

Browse files
committed
fix tests
1 parent eaaea79 commit b2da3a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/Unit/CrudPanel/CrudPanelReorderOperationTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ public function testSaveReorderTree()
1616
$this->createReorderItems();
1717
$this->crudPanel->setModel(Reorder::class);
1818

19+
$this->crudPanel->setOperationSetting('reorderColumnNames', [
20+
'parent_id' => 'parent_id',
21+
'depth' => 'depth',
22+
'lft' => 'lft',
23+
'rgt' => 'rgt',
24+
]);
25+
1926
$this->crudPanel->updateTreeOrder(
2027
[
2128
[

0 commit comments

Comments
 (0)