Fix failing test, find('first') now returns empty array when no record was found

This commit is contained in:
Ceeram 2012-10-26 16:32:15 +02:00
parent a0665feac4
commit 39dcb80b45

View file

@ -177,7 +177,7 @@ class AclShellTest extends CakeTestCase {
$Aro = ClassRegistry::init('Aro'); $Aro = ClassRegistry::init('Aro');
$result = $Aro->findById(3); $result = $Aro->findById(3);
$this->assertFalse($result); $this->assertEmpty($result);
} }
/** /**