Skip to content

Commit e4fb3f3

Browse files
committed
update test
1 parent fe3ba84 commit e4fb3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/Model/WikiModelTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function testReOrderByIndex(){
129129
// reorder
130130
$wikimodel->reorderPagesByIndex($project['id'], 4, 2, null);
131131
// expected by id
132-
$expectedColumnOrders = [1,2,4,2];
132+
$expectedColumnOrders = [0,1,3,2];
133133

134134
$wikiPages = $wikimodel->getWikiPagesByParentId($project['id'], null);
135135
$this->assertEquals(count($expectedColumnOrders), count($wikiPages), 'expected column order count doesn\'t match pages');

0 commit comments

Comments
 (0)