Skip to content

Commit

Permalink
Remove d8 testing, php 8.1 fixes, use friends-of-behat mink extension…
Browse files Browse the repository at this point in the history
… fork
  • Loading branch information
Berdir committed Apr 26, 2022
1 parent 80cb0c4 commit 0b1c5f3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ env:
- TRAVIS_NODE_VERSION="4.0.0"
matrix:
- DRUPAL_VERSION=7
- DRUPAL_VERSION=8
- DRUPAL_VERSION=9

# Enable Travis containers.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"require": {
"behat/behat": "~3.2",
"behat/mink": "~1.5",
"behat/mink-extension": "~2.0",
"friends-of-behat/mink-extension": "^2",
"behat/mink-goutte-driver": "~1.0",
"behat/mink-selenium2-driver": "~1.1",
"drupal/drupal-driver": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Drupal/DrupalExtension/Context/RawDrupalContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public function parseEntityFields($entity_type, \stdClass $entity)
// Split up multiple values in multi-value fields.
$values = [];
foreach (str_getcsv($field_value) as $key => $value) {
$value = trim($value);
$value = trim((string) $value);
$columns = $value;
// Split up field columns if the ' - ' separator is present.
if (strstr($value, ' - ') !== false) {
Expand Down

0 comments on commit 0b1c5f3

Please sign in to comment.