Skip to content

Commit

Permalink
Removing collisions that prevent TestTask from being loaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 6, 2010
1 parent d202ea6 commit 0ec1e65
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cake/tests/cases/console/shells/shell.test.php
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}

/**
Expand All @@ -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);
Expand Down

0 comments on commit 0ec1e65

Please sign in to comment.