[Console] Delete duplicate test in CommandTest
There is no __get method in the Command class, and the deleted test was duplicated with the preceding one.
This commit is contained in:
parent
4d40852596
commit
4a4eda93c8
@ -167,15 +167,6 @@ class CommandTest extends \PHPUnit_Framework_TestCase
|
|||||||
$this->assertEquals($formatterHelper->getName(), $command->getHelper('formatter')->getName(), '->getHelper() returns the correct helper');
|
$this->assertEquals($formatterHelper->getName(), $command->getHelper('formatter')->getName(), '->getHelper() returns the correct helper');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGet()
|
|
||||||
{
|
|
||||||
$application = new Application();
|
|
||||||
$command = new \TestCommand();
|
|
||||||
$command->setApplication($application);
|
|
||||||
$formatterHelper = new FormatterHelper();
|
|
||||||
$this->assertEquals($formatterHelper->getName(), $command->getHelper('formatter')->getName(), '->__get() returns the correct helper');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testMergeApplicationDefinition()
|
public function testMergeApplicationDefinition()
|
||||||
{
|
{
|
||||||
$application1 = new Application();
|
$application1 = new Application();
|
||||||
|
Reference in New Issue
Block a user