Skip to content

Commit 3d9adfb

Browse files
committed
check for WebTestCase
1 parent 4cb0d14 commit 3d9adfb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Maker/MakeCrud.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
use Symfony\Component\Console\Input\InputArgument;
3434
use Symfony\Component\Console\Input\InputInterface;
3535
use Symfony\Component\Console\Question\Question;
36-
use Symfony\Component\CssSelector\CssSelectorConverter;
3736
use Symfony\Component\Form\AbstractType;
3837
use Symfony\Component\HttpFoundation\Request;
3938
use Symfony\Component\HttpFoundation\Response;
@@ -277,7 +276,7 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
277276
]
278277
);
279278

280-
if (!class_exists(CssSelectorConverter::class)) {
279+
if (!class_exists(WebTestCase::class)) {
281280
$io->caution('You\'ll need to install the `symfony/test-pack` to execute the tests for your new controller.');
282281
}
283282
}

0 commit comments

Comments
 (0)