Switch back to the original behat/mink-browserkit-driver
This commit is contained in:
@@ -18,9 +18,9 @@
|
|||||||
"symfony/proxy-manager-bridge": "^4.4 || ^5.3 || ^6.0"
|
"symfony/proxy-manager-bridge": "^4.4 || ^5.3 || ^6.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"behat/mink-browserkit-driver": "^2.0",
|
||||||
"behat/mink-selenium2-driver": "^1.3",
|
"behat/mink-selenium2-driver": "^1.3",
|
||||||
"friends-of-behat/mink": "^1.9",
|
"friends-of-behat/mink": "^1.9",
|
||||||
"friends-of-behat/mink-browserkit-driver": "^1.5",
|
|
||||||
"friends-of-behat/mink-extension": "^2.5",
|
"friends-of-behat/mink-extension": "^2.5",
|
||||||
"friends-of-behat/page-object-extension": "^0.3.2",
|
"friends-of-behat/page-object-extension": "^0.3.2",
|
||||||
"friends-of-behat/service-container-extension": "^1.1",
|
"friends-of-behat/service-container-extension": "^1.1",
|
||||||
@@ -32,8 +32,8 @@
|
|||||||
"vimeo/psalm": "4.15.0"
|
"vimeo/psalm": "4.15.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
"behat/mink-browserkit-driver": "^2.0",
|
||||||
"friends-of-behat/mink": "^1.9",
|
"friends-of-behat/mink": "^1.9",
|
||||||
"friends-of-behat/mink-browserkit-driver": "^1.5",
|
|
||||||
"friends-of-behat/mink-extension": "^2.5"
|
"friends-of-behat/mink-extension": "^2.5"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ final class SymfonyDriverFactory implements DriverFactory
|
|||||||
public function buildDriver(array $config): Definition
|
public function buildDriver(array $config): Definition
|
||||||
{
|
{
|
||||||
if (!class_exists(BrowserKitDriver::class)) {
|
if (!class_exists(BrowserKitDriver::class)) {
|
||||||
throw new \RuntimeException('Install "friends-of-behat/mink-browserkit-driver" (drop-in replacement for "behat/mink-browserkit-driver") in order to use the "symfony" driver.');
|
throw new \RuntimeException('Install "behat/mink-browserkit-driver" in order to use the "symfony" driver.');
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Definition(SymfonyDriver::class, [
|
return new Definition(SymfonyDriver::class, [
|
||||||
|
|||||||
Reference in New Issue
Block a user