ソースを参照

Make the test more accurate on type of result

Ceeram 13 年 前
コミット
870d77c89e
1 ファイル変更1 行追加1 行削除
  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->assertEmpty($result);
+		$this->assertSame(array(), $result);
 	}
 
 /**