Permalink
Browse files

Making test more generic so it passes on Jenkins.

  • Loading branch information...
1 parent 4810518 commit 0fc6d7a98d12b2a7d2a2f693ab4134efe124b2c2 @markstory markstory committed Oct 1, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Test/Case/Utility/DebuggerTest.php
@@ -264,7 +264,8 @@ public function testAddFormatCallback() {
ob_start();
$foo .= '';
$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);
}
/**

0 comments on commit 0fc6d7a

Please sign in to comment.