From 9989327b5b26bf3079e2f9665cc74b7e5edd9749 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 10 Jan 2010 15:55:49 -0500 Subject: [PATCH] Fixing constructor of CakeCliReporter to match CakeBaseReporter. --- cake/tests/lib/reporter/cake_cli_reporter.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cake/tests/lib/reporter/cake_cli_reporter.php b/cake/tests/lib/reporter/cake_cli_reporter.php index b736ce4d1..61775842c 100644 --- a/cake/tests/lib/reporter/cake_cli_reporter.php +++ b/cake/tests/lib/reporter/cake_cli_reporter.php @@ -55,11 +55,8 @@ class CakeCliReporter extends CakeBaseReporter { * @param array $params * @return void */ - function CakeCLIReporter($separator = NULL, $params = array()) { - $this->CakeBaseReporter('utf-8', $params); - if (!is_null($separator)) { - $this->setFailDetailSeparator($separator); - } + function CakeCLIReporter($charset = 'utf-8', $params = array()) { + $this->CakeBaseReporter($charset, $params); } function setFailDetailSeparator($separator) {