Permalink
Browse files

use LOGS constant

  • Loading branch information...
rchavik committed May 11, 2012
1 parent 73c66e2 commit 15a74722b34be6b64f4c20b413c5fa84f3666132
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/Utility/DebuggerTest.php
@@ -361,10 +361,10 @@ public function testLog() {
$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);

0 comments on commit 15a7472

Please sign in to comment.