Skip to content

Commit fd77370

Browse files
authored
Update BrowserKitConfig.php
1 parent 7d8d038 commit fd77370

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/BrowserKitConfig.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Behat\Mink\Driver\BrowserKitDriver;
66
use Behat\Mink\Tests\Driver\Util\FixturesKernel;
7-
use Symfony\Component\DomCrawler\Tests\FormTest;
87
use Symfony\Component\HttpKernel\Client;
98

109
class BrowserKitConfig extends AbstractConfig
@@ -45,7 +44,7 @@ public function skipMessage($testCase, $test)
4544
'testHtml5FormAction',
4645
'testHtml5FormMethod',
4746
))
48-
&& !method_exists(FormTest::class, 'testGetMethodWithOverride')
47+
&& !method_exists('Symfony\Component\DomCrawler\Tests\FormTest', 'testGetMethodWithOverride')
4948
) {
5049
return 'Mink BrowserKit doesn\'t support HTML5 form attributes before Symfony 3.3';
5150
}

0 commit comments

Comments
 (0)