Core UserMailUnique constraint fails with DBEE encrypted users

Created on 15 July 2024, 4 months ago
Updated 25 July 2024, 4 months ago

Problem/Motivation

phpunit tests are failing:

1) Drupal\Tests\dbee\Functional\DbeeAllUsersBatchTest::testAllUsers
Behat\Mink\Exception\ResponseTextException: The text "been enabled" was not found anywhere in the text of the current page.

/drupal/vendor/behat/mink/src/WebAssert.php:907
/drupal/vendor/behat/mink/src/WebAssert.php:293
/drupal/web/core/tests/Drupal/Tests/WebAssert.php:975
/drupal/web/modules/contrib/dbee/tests/src/Functional/DbeeWebSwitchTestBase.php:102
/drupal/web/modules/contrib/dbee/tests/src/Functional/DbeeAllUsersTest.php:23
/drupal/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
4) Drupal\Tests\dbee\Functional\DbeeEditUserTest::testEditUser
Behat\Mink\Exception\ResponseTextException: The text "The email address CVDWRJB4@EXAMPLE.COM is already taken." was not found anywhere in the text of the current page.

/drupal/vendor/behat/mink/src/WebAssert.php:907
/drupal/vendor/behat/mink/src/WebAssert.php:293
/drupal/web/core/tests/Drupal/Tests/WebAssert.php:975
/drupal/web/modules/contrib/dbee/tests/src/Functional/DbeeEditUserTest.php:143
/drupal/vendor/phpunit/phpunit/src/Framework/TestResult.php:729

Fix it, let's.

🐛 Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

🇦🇺Australia elc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024