Enable & fix failing PHPUnit tests for Drupal 9

Created on 22 May 2024, 6 months ago
Updated 25 August 2024, 3 months ago

Problem/Motivation

Seems like the similar issue is passing for D11 but failing for D9
There was 1 error:
1) Drupal\Tests\password_policy\Functional\PasswordResetBehaviorsTest::testPasswordResetBehaviors
Behat\Mink\Exception\ExpectationException: Current page is "/web/node/1", but "/user/3/edit" expected.
/builds/issue/password_policy-3433859/web/core/tests/Drupal/Tests/WebAssert.php:560
/builds/issue/password_policy-3433859/web/core/tests/Drupal/Tests/WebAssert.php:765
/builds/issue/password_policy-3433859/tests/src/Functional/PasswordResetBehaviorsTest.php:163
/builds/issue/password_policy-3433859/vendor/phpunit/phpunit/src/Framework/TestResult.php:729

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia deepakkm

Live updates comments and jobs are added and updated live.
  • testing

    Used for Documentation issues related to testing and test development

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024