Skip to content

Commit 2ab66a7

Browse files
Don't use Goutte
1 parent 5283a22 commit 2ab66a7

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

behat.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ default:
1212
tags: "@blackbox"
1313
extensions:
1414
Drupal\MinkExtension:
15-
goutte: ~
15+
browserkit_http: ~
1616
base_url: http://127.0.0.1:8888/blackbox
1717
Drupal\DrupalExtension:
1818
blackbox: ~

composer.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,21 @@
2424
"require": {
2525
"behat/behat": "~3.2",
2626
"behat/mink": "~1.5",
27-
"friends-of-behat/mink-extension": "^2",
28-
"behat/mink-goutte-driver": "~1|^2",
27+
"friends-of-behat/mink-extension": "^2.7.1",
28+
"behat/mink-browserkit-driver": "^2.1.0",
2929
"behat/mink-selenium2-driver": "~1.1",
3030
"drupal/drupal-driver": "^2.1.0",
31-
"symfony/browser-kit": "~4.4|^6",
32-
"symfony/dependency-injection": "~4.4|^6",
33-
"symfony/translation": "~4.4|^6"
31+
"symfony/browser-kit": "~4.4 || ^5 || ^6",
32+
"symfony/http-client": "~4.4 || ^5 || ^6",
33+
"symfony/mime": "~4.4 || ^5 || ^6",
34+
"symfony/dependency-injection": "~4.4 || ^5 || ^6",
35+
"symfony/translation": "~4.4 || ^5 || ^6"
3436
},
3537
"require-dev": {
3638
"composer/installers": "^1.2|^2",
3739
"drupal/coder": "^8.3",
38-
"drupal/core-composer-scaffold": "^9.1|^10.0.0-alpha1",
39-
"drupal/core-recommended": "^9.1|^10.0.0-alpha1",
40+
"drupal/core-composer-scaffold": "^9.1 || ^10.0",
41+
"drupal/core-recommended": "^9.4 || ^10.0",
4042
"drush/drush": "^10.5|^11 ",
4143
"php-parallel-lint/php-parallel-lint": "^1.3",
4244
"phpspec/phpspec": "^4.0 || ^6.0 || ^7.0"

features/bootstrap/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public function prepareTestFolders()
284284
}
285285
$this->workingDir = $dir;
286286
$this->phpBin = $php;
287-
$this->process = new Process(null);
287+
$this->process = new Process([]);
288288
}
289289

290290
/**

fixtures/drupal9/modules/behat_test/behat_test.info.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: Behat test
22
type: module
33
description: 'Test feature exposing basic configuration for Behat Drupal extension test.'
44
package: Test
5-
core_version_requirement: ^8 || ^9
5+
core_version_requirement: ^9 || ^10
66
dependencies:
7-
- language
7+
- drupal:language

0 commit comments

Comments
 (0)