From 15a74722b34be6b64f4c20b413c5fa84f3666132 Mon Sep 17 00:00:00 2001 From: Rachman Chavik Date: Fri, 11 May 2012 08:32:00 +0700 Subject: [PATCH] use LOGS constant --- lib/Cake/Test/Case/Utility/DebuggerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Test/Case/Utility/DebuggerTest.php b/lib/Cake/Test/Case/Utility/DebuggerTest.php index 7285b6924..864b8f955 100644 --- a/lib/Cake/Test/Case/Utility/DebuggerTest.php +++ b/lib/Cake/Test/Case/Utility/DebuggerTest.php @@ -361,10 +361,10 @@ TEXT; $this->assertRegExp('/DebuggerTest\:\:testLog/i', $result); $this->assertRegExp("/'cool'/", $result); - unlink(TMP . 'logs' . DS . 'debug.log'); + unlink(LOGS . 'debug.log'); Debugger::log(array('whatever', 'here')); - $result = file_get_contents(TMP . 'logs' . DS . 'debug.log'); + $result = file_get_contents(LOGS . 'debug.log'); $this->assertRegExp('/DebuggerTest\:\:testLog/i', $result); $this->assertRegExp('/\[main\]/', $result); $this->assertRegExp('/array/', $result);