diff --git a/src/Maker/MakeFunctionalTest.php b/src/Maker/MakeFunctionalTest.php index b34350590..75cd6fffc 100644 --- a/src/Maker/MakeFunctionalTest.php +++ b/src/Maker/MakeFunctionalTest.php @@ -20,6 +20,7 @@ use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; +use Symfony\Component\BrowserKit\Client; /** * @author Javier Eguiluz @@ -72,5 +73,9 @@ public function writeNextStepsMessage(array $params, ConsoleStyle $io): void public function configureDependencies(DependencyBuilder $dependencies): void { + $dependencies->addClassDependency( + Client::class, + 'browser-kit' + ); } }