File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Bridge/Twig/Tests/Command
Component/Yaml/Tests/Command Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,10 @@ public function testLintAutodetectsGithubActionEnvironment()
141
141
*/
142
142
public function testComplete (array $ input , array $ expectedSuggestions )
143
143
{
144
+ if (!class_exists (CommandCompletionTester::class)) {
145
+ $ this ->markTestSkipped ('Test command completion requires symfony/console 5.4+. ' );
146
+ }
147
+
144
148
$ tester = new CommandCompletionTester ($ this ->createCommand ());
145
149
146
150
$ this ->assertSame ($ expectedSuggestions , $ tester ->complete ($ input ));
Original file line number Diff line number Diff line change @@ -170,6 +170,10 @@ public function testLintFileNotReadable()
170
170
*/
171
171
public function testComplete (array $ input , array $ expectedSuggestions )
172
172
{
173
+ if (!class_exists (CommandCompletionTester::class)) {
174
+ $ this ->markTestSkipped ('Test command completion requires symfony/console 5.4+. ' );
175
+ }
176
+
173
177
$ tester = new CommandCompletionTester ($ this ->createCommand ());
174
178
175
179
$ this ->assertSame ($ expectedSuggestions , $ tester ->complete ($ input ));
You can’t perform that action at this time.
0 commit comments