File tree 1 file changed +10
-8
lines changed 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,11 @@ instead of
105
105
$command = $application->find('demo:greet');
106
106
$commandTester = new CommandTester($command);
107
107
$commandTester->execute(
108
- array(
109
- 'name' => 'Fabien',
110
- '--yell' => true,
111
- )
108
+ array(
109
+ 'command' => $command->getName(),
110
+ 'name' => 'Fabien',
111
+ '--yell' => true,
112
+ )
112
113
);
113
114
114
115
$this->assertRegExp('/.../', $commandTester->getDisplay());
@@ -145,10 +146,11 @@ you can extend your test from
145
146
$command = $application->find('demo:greet');
146
147
$commandTester = new CommandTester($command);
147
148
$commandTester->execute(
148
- array(
149
- 'name' => 'Fabien',
150
- '--yell' => true,
151
- )
149
+ array(
150
+ 'command' => $command->getName(),
151
+ 'name' => 'Fabien',
152
+ '--yell' => true,
153
+ )
152
154
);
153
155
154
156
$this->assertRegExp('/.../', $commandTester->getDisplay());
You can’t perform that action at this time.
0 commit comments