Browse Source

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

Ceeram 13 years ago
parent
commit
39dcb80b45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Test/Case/Console/Command/AclShellTest.php

+ 1 - 1
lib/Cake/Test/Case/Console/Command/AclShellTest.php

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