File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,13 @@ instead of
104
104
105
105
$command = $application->find('demo:greet');
106
106
$commandTester = new CommandTester($command);
107
- $commandTester->execute(array('command' => $command->getName()));
107
+ $commandTester->execute(
108
+ array(
109
+ 'command' => $command->getName(),
110
+ 'name' => 'Fabien',
111
+ '--yell' => true,
112
+ )
113
+ );
108
114
109
115
$this->assertRegExp('/.../', $commandTester->getDisplay());
110
116
@@ -133,7 +139,13 @@ you can extend your test from
133
139
134
140
$command = $application->find('demo:greet');
135
141
$commandTester = new CommandTester($command);
136
- $commandTester->execute(array('command' => $command->getName()));
142
+ $commandTester->execute(
143
+ array(
144
+ 'command' => $command->getName(),
145
+ 'name' => 'Fabien',
146
+ '--yell' => true,
147
+ )
148
+ );
137
149
138
150
$this->assertRegExp('/.../', $commandTester->getDisplay());
139
151
You can’t perform that action at this time.
0 commit comments