Skip to content

Commit f0cda43

Browse files
committed
minor symfony#14684 [Console] Delete duplicate test in CommandTest (nanocom)
This PR was merged into the 2.3 branch. Discussion ---------- [Console] Delete duplicate test in CommandTest | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT The __get method is not implemented in the Command class, and the deleted test was duplicated with the preceding one. Commits ------- 4a4eda9 [Console] Delete duplicate test in CommandTest
2 parents 96e9cca + 4a4eda9 commit f0cda43

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/Symfony/Component/Console/Tests/Command/CommandTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,6 @@ public function testGetHelper()
167167
$this->assertEquals($formatterHelper->getName(), $command->getHelper('formatter')->getName(), '->getHelper() returns the correct helper');
168168
}
169169

170-
public function testGet()
171-
{
172-
$application = new Application();
173-
$command = new \TestCommand();
174-
$command->setApplication($application);
175-
$formatterHelper = new FormatterHelper();
176-
$this->assertEquals($formatterHelper->getName(), $command->getHelper('formatter')->getName(), '->__get() returns the correct helper');
177-
}
178-
179170
public function testMergeApplicationDefinition()
180171
{
181172
$application1 = new Application();

0 commit comments

Comments
 (0)