Skip to content

Commit

Permalink
FIXED sort
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Ristic committed Oct 12, 2017
1 parent fc47234 commit 9d593a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function testGetChildrenSorted()
{
$this->_model->load(2);
$unsorted = explode(',', $this->_model->getChildren());
usort($unsorted);
sort($unsorted);
$this->assertEquals(array_diff($unsorted, explode(',', $this->_model->getChildren(true, true, true))), []);
}

Expand Down

0 comments on commit 9d593a4

Please sign in to comment.