Skip to content

Commit 9d593a4

Browse files
author
Denis Ristic
committed
FIXED sort
1 parent fc47234 commit 9d593a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/CategoryTreeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function testGetChildrenSorted()
132132
{
133133
$this->_model->load(2);
134134
$unsorted = explode(',', $this->_model->getChildren());
135-
usort($unsorted);
135+
sort($unsorted);
136136
$this->assertEquals(array_diff($unsorted, explode(',', $this->_model->getChildren(true, true, true))), []);
137137
}
138138

0 commit comments

Comments
 (0)