Making test more generic so it passes on Jenkins.

This commit is contained in:
mark_story 2011-09-30 22:44:04 -04:00
parent 4810518c7d
commit 0fc6d7a98d

View file

@ -264,7 +264,8 @@ class DebuggerTest extends CakeTestCase {
ob_start(); ob_start();
$foo .= ''; $foo .= '';
$result = ob_get_clean(); $result = ob_get_clean();
$this->assertEquals('Notice: I eated an error ' . 'CORE' . DS . ltrim(__FILE__, CAKE_CORE_INCLUDE_PATH), $result); $this->assertContains('Notice: I eated an error', $result);
$this->assertContains('DebuggerTest.php', $result);
} }
/** /**