浏览代码

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']);