- 🇳🇿New Zealand quietone
There isn't a proposed resolution section in the issue summary, so I am tagging this for an update.
.. or if we do then depend on a specific commit.
Drupal core currently depends on various `-dev` versions in its composer.json.
We run into a problem when we run field UI tests which caused by a recent change in behat/mink.
Storytime:
This seems to be a core issue. The `FieldUITestTrait::fieldUIAddNewField()` function calls an `assertRaw()`, and passes a `TranslatableMarkup` to it. `assertRaw()` is a legacy wrapper for `assertSession()->responseContains()`. `responseContains()` calls `stripos()` which encountering an object (which has `__toString()` defined), tries to convert it to `int` for some reason (just php things), and because that's not possible, the test fails.
http://php.net/manual/en/function.stripos.php
If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.
My colleague created a pull request to fix this problem in Mink: https://github.com/minkphp/Mink/pull/760
Needs work
11.0 🔥
composer
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
There isn't a proposed resolution section in the issue summary, so I am tagging this for an update.