Skip to content
This repository
Browse code

Making test more generic so it passes on Jenkins.

  • Loading branch information...
commit 0fc6d7a98d12b2a7d2a2f693ab4134efe124b2c2 1 parent 4810518
Mark Story authored September 30, 2011
3  lib/Cake/Test/Case/Utility/DebuggerTest.php
@@ -264,7 +264,8 @@ public function testAddFormatCallback() {
264 264
 		ob_start();
265 265
 		$foo .= '';
266 266
 		$result = ob_get_clean();
267  
-		$this->assertEquals('Notice: I eated an error ' . 'CORE' . DS . ltrim(__FILE__, CAKE_CORE_INCLUDE_PATH), $result);
  267
+		$this->assertContains('Notice: I eated an error', $result);
  268
+		$this->assertContains('DebuggerTest.php', $result);
268 269
 	}
269 270
 
270 271
 /**

0 notes on commit 0fc6d7a

Please sign in to comment.
Something went wrong with that request. Please try again.