ソースを参照

Add test debug info

dereuromark 8 年 前
コミット
b6352bb8c2
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tests/TestCase/Model/Behavior/TypographicBehaviorTest.php

+ 1 - 1
tests/TestCase/Model/Behavior/TypographicBehaviorTest.php

@@ -129,7 +129,7 @@ class TypographicBehaviorTest extends TestCase {
 		}
 		$this->Model->addBehavior('Tools.Typographic');
 		$count = $this->Model->updateTypography();
-		$this->assertTrue($count >= 200);
+		$this->assertTrue($count >= 200, 'Count is only ' . $count);
 
 		$record = $this->Model->find()->orderDesc('id')->firstOrFail();
 		$this->assertSame('unclean `content` to "correct"', $record['body']);