From 0fc6d7a98d12b2a7d2a2f693ab4134efe124b2c2 Mon Sep 17 00:00:00 2001 From: mark_story Date: Fri, 30 Sep 2011 22:44:04 -0400 Subject: [PATCH] Making test more generic so it passes on Jenkins. --- lib/Cake/Test/Case/Utility/DebuggerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Utility/DebuggerTest.php b/lib/Cake/Test/Case/Utility/DebuggerTest.php index 228b5caab..922644cc0 100644 --- a/lib/Cake/Test/Case/Utility/DebuggerTest.php +++ b/lib/Cake/Test/Case/Utility/DebuggerTest.php @@ -264,7 +264,8 @@ class DebuggerTest extends CakeTestCase { 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); } /**