mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing collisions that prevent TestTask from being loaded.
This commit is contained in:
parent
d202ea643d
commit
0ec1e65013
1 changed files with 5 additions and 5 deletions
|
@ -25,12 +25,12 @@ App::import('Shell', 'Shell', false);
|
|||
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
|
||||
|
@ -38,7 +38,7 @@ class TestShell extends Shell {
|
|||
* @var name
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'TestShell';
|
||||
public $name = 'ShellTestShell';
|
||||
|
||||
/**
|
||||
* stopped property
|
||||
|
@ -133,7 +133,7 @@ class ShellTest extends CakeTestCase {
|
|||
$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 @@ class ShellTest extends CakeTestCase {
|
|||
* @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);
|
||||
|
|
Loading…
Reference in a new issue