From 39dcb80b451dec37e44750482a0d207109dcac11 Mon Sep 17 00:00:00 2001 From: Ceeram Date: Fri, 26 Oct 2012 16:32:15 +0200 Subject: [PATCH] Fix failing test, find('first') now returns empty array when no record was found --- lib/Cake/Test/Case/Console/Command/AclShellTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Console/Command/AclShellTest.php b/lib/Cake/Test/Case/Console/Command/AclShellTest.php index 7dfbbc0616a..eaafdcf10ab 100644 --- a/lib/Cake/Test/Case/Console/Command/AclShellTest.php +++ b/lib/Cake/Test/Case/Console/Command/AclShellTest.php @@ -177,7 +177,7 @@ public function testDelete() { $Aro = ClassRegistry::init('Aro'); $result = $Aro->findById(3); - $this->assertFalse($result); + $this->assertEmpty($result); } /**