Skip to content

Commit

Permalink
Change unit test logger's log path
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Jun 17, 2016
1 parent 3c1c8df commit 0ea3756
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/unit/core/helper/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,13 @@ public static function registerLogger()
{
if (defined('JOOMLA_TEST_LOGGING') && JOOMLA_TEST_LOGGING === 'yes')
{
JLog::addLogger(array('logger' => 'formattedtext', 'text_file' => 'unit_test.php', 'text_file_path' => JPATH_ROOT . '/logs'));
JLog::addLogger(
array(
'logger' => 'formattedtext',
'text_file' => 'unit_test.php',
'text_file_path' => dirname(dirname(__DIR__)) . '/tmp'
)
);
}
}

Expand Down

0 comments on commit 0ea3756

Please sign in to comment.