Skip to content

Commit c864e7f

Browse files
committed
bug #490 Fix make:functional-test for Symfony 5 (fabpot)
This PR was merged into the 1.0-dev branch. Discussion ---------- Fix make:functional-test for Symfony 5 As of Symfony 5, the Client class has been renamed and does not exist anymore. Commits ------- e52c8c4 Fix make:functional-test for Symfony 5
2 parents 5dfcbc4 + e52c8c4 commit c864e7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Maker/MakeFunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Symfony\Bundle\MakerBundle\DependencyBuilder;
1717
use Symfony\Bundle\MakerBundle\Generator;
1818
use Symfony\Bundle\MakerBundle\InputConfiguration;
19-
use Symfony\Component\BrowserKit\Client;
19+
use Symfony\Component\BrowserKit\History;
2020
use Symfony\Component\Console\Command\Command;
2121
use Symfony\Component\Console\Input\InputArgument;
2222
use Symfony\Component\Console\Input\InputInterface;
@@ -73,7 +73,7 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
7373
public function configureDependencies(DependencyBuilder $dependencies)
7474
{
7575
$dependencies->addClassDependency(
76-
Client::class,
76+
History::class,
7777
'browser-kit',
7878
true,
7979
true

0 commit comments

Comments
 (0)