Skip to content

Commit

Permalink
Fixing typos.
Browse files Browse the repository at this point in the history
Removing useless constant.
Fixing constructor
  • Loading branch information
markstory committed Jan 10, 2010
1 parent a8f2893 commit 081509a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cake/console/libs/testsuite.php
Expand Up @@ -237,7 +237,7 @@ function __canRun() {
$this->err(sprintf(__('%s is invalid. Should be case, group or all', true), $this->type));
return false;
}
$ext = $this->Manager->getExtensino($this->type);
$ext = $this->Manager->getExtension($this->type);

switch ($this->type) {
case 'all':
Expand Down
8 changes: 2 additions & 6 deletions cake/tests/lib/reporter/cake_cli_reporter.php
Expand Up @@ -17,10 +17,6 @@
* @since CakePHP(tm) v 1.2.0.4433
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
*/
if (! defined('ST_FAILDETAIL_SEPARATOR')) {
define('ST_FAILDETAIL_SEPARATOR', "->");
}

if (version_compare(PHP_VERSION, '4.4.4', '<=') ||
PHP_SAPI == 'cgi') {
define('STDOUT', fopen('php://stdout', 'w'));
Expand All @@ -37,9 +33,9 @@
*/
class CakeCliReporter extends TextReporter {

var $faildetail_separator = ST_FAILDETAIL_SEPARATOR;
var $faildetail_separator = '->';

function CLIReporter($faildetail_separator = NULL) {
function CakeCLIReporter($faildetail_separator = NULL) {
$this->SimpleReporter();
if (! is_null($faildetail_separator)) {
$this->setFailDetailSeparator($faildetail_separator);
Expand Down

0 comments on commit 081509a

Please sign in to comment.