Skip to content
Permalink
Browse files

Removing collisions that prevent TestTask from being loaded.

  • Loading branch information...
markstory committed Dec 6, 2010
1 parent d202ea6 commit 0ec1e6501331d47199a75dec492d05a9b7606619
Showing with 5 additions and 5 deletions.
  1. +5 −5 cake/tests/cases/console/shells/shell.test.php
@@ -25,20 +25,20 @@
require_once CAKE . 'console' . DS . 'shell_dispatcher.php';
/**
* TestShell class
* ShellTestShell class
*
* @package cake
* @subpackage cake.tests.cases.console.libs
*/
class TestShell extends Shell {
class ShellTestShell extends Shell {
/**
* name property
*
* @var name
* @access public
*/
public $name = 'TestShell';
public $name = 'ShellTestShell';
/**
* stopped property
@@ -133,7 +133,7 @@ public function setUp() {
$output = $this->getMock('ConsoleOutput', array(), array(), '', false);
$error = $this->getMock('ConsoleOutput', array(), array(), '', false);
$in = $this->getMock('ConsoleInput', array(), array(), '', false);
$this->Shell = new TestShell($output, $error, $in);
$this->Shell = new ShellTestShell($output, $error, $in);
}
/**
@@ -142,7 +142,7 @@ public function setUp() {
* @return void
*/
public function testConstruct() {
$this->assertEqual($this->Shell->name, 'TestShell');
$this->assertEqual($this->Shell->name, 'ShellTestShell');
$this->assertType('ConsoleInput', $this->Shell->stdin);
$this->assertType('ConsoleOutput', $this->Shell->stdout);
$this->assertType('ConsoleOutput', $this->Shell->stderr);

0 comments on commit 0ec1e65

Please sign in to comment.
You can’t perform that action at this time.