Browse files

Fixing constructor of CakeCliReporter to match CakeBaseReporter.

  • Loading branch information...
1 parent 980a85c commit 9989327b5b26bf3079e2f9665cc74b7e5edd9749 @markstory markstory committed Jan 10, 2010
Showing with 2 additions and 5 deletions.
  1. +2 −5 cake/tests/lib/reporter/cake_cli_reporter.php
View
7 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) {

0 comments on commit 9989327

Please sign in to comment.