Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing typos.

Removing useless constant.
Fixing constructor
  • Loading branch information...
commit 081509a09c1893b803cee40bb88856f258b65e57 1 parent a8f2893
@markstory markstory authored
View
2  cake/console/libs/testsuite.php
@@ -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':
View
8 cake/tests/lib/reporter/cake_cli_reporter.php
@@ -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'));
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.