From 3f8934634b077123478febc02b6dfd5572ca3e6d Mon Sep 17 00:00:00 2001 From: Ceeram Date: Thu, 15 Dec 2011 01:18:11 +0100 Subject: [PATCH] remove cheating, sort() always returns true --- lib/Cake/Test/Case/Utility/FolderTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Utility/FolderTest.php b/lib/Cake/Test/Case/Utility/FolderTest.php index 4c1bc5bc3..d87e6f46b 100644 --- a/lib/Cake/Test/Case/Utility/FolderTest.php +++ b/lib/Cake/Test/Case/Utility/FolderTest.php @@ -750,7 +750,9 @@ class FolderTest extends CakeTestCase { $path . DS . 'level_1_1 removed', $path . ' removed' ); - $this->assertEquals(sort($expected), sort($messages)); + sort($expected); + sort($messages); + $this->assertEquals($expected, $messages); } /**