Skip to content

Commit

Permalink
ensure test pass when files are returned in different order
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed Dec 10, 2011
1 parent 039e041 commit 1eb55bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Utility/FolderTest.php
Expand Up @@ -436,7 +436,7 @@ public function testFolderTreeWithHiddenFiles() {
);

$result = $Folder->tree(null, false);
$this->assertEquals($expected, $result);
$this->assertEquals(sort($expected), sort($result));

$expected = array(
array(
Expand All @@ -451,7 +451,7 @@ public function testFolderTreeWithHiddenFiles() {
);

$result = $Folder->tree(null, true);
$this->assertEquals($expected, $result);
$this->assertEquals(sort($expected), sort($result));

$Folder->delete();
}
Expand Down

0 comments on commit 1eb55bc

Please sign in to comment.