From 4a4eda93c81f4a0bc9a4ebf00da7aa69e9ee29a4 Mon Sep 17 00:00:00 2001 From: Arnaud Kleinpeter Date: Mon, 18 May 2015 19:58:47 +0200 Subject: [PATCH] [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. --- .../Component/Console/Tests/Command/CommandTest.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Symfony/Component/Console/Tests/Command/CommandTest.php b/src/Symfony/Component/Console/Tests/Command/CommandTest.php index 1249dbc5c4..1ae12874ba 100644 --- a/src/Symfony/Component/Console/Tests/Command/CommandTest.php +++ b/src/Symfony/Component/Console/Tests/Command/CommandTest.php @@ -167,15 +167,6 @@ class CommandTest extends \PHPUnit_Framework_TestCase $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() { $application1 = new Application();