File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ instead of
106
106
$commandTester = new CommandTester($command);
107
107
$commandTester->execute(
108
108
array(
109
- 'command' => $command->getName(),
110
109
'name' => 'Fabien',
111
110
'--yell' => true,
112
111
)
@@ -120,8 +119,9 @@ instead of
120
119
121
120
.. note ::
122
121
123
- In the specific case above, the ``name `` parameter and the ``--yell `` option are not
124
- mandatory for the command to work well, but they are shown for the example.
122
+ In the specific case above, the ``name `` parameter and the ``--yell `` option
123
+ are not mandatory for the command to work, but are shown so you can see
124
+ how to customize them when calling the command.
125
125
126
126
To be able to use the fully set up service container for your console tests
127
127
you can extend your test from
@@ -146,7 +146,6 @@ you can extend your test from
146
146
$commandTester = new CommandTester($command);
147
147
$commandTester->execute(
148
148
array(
149
- 'command' => $command->getName(),
150
149
'name' => 'Fabien',
151
150
'--yell' => true,
152
151
)
You can’t perform that action at this time.
0 commit comments