Fix failing test

Created on 11 May 2023, over 1 year ago

Problem/Motivation

fail: [Other] Line 0 of sites/default/files/simpletest/phpunit-1.xml:
PHPUnit Test failed to complete; Error: PHPUnit 9.5.28 by Sebastian Bergmann and contributors.

Warning: Your XML configuration validates against a deprecated schema.
Suggestion: Migrate your XML configuration using "--migrate-configuration"!

Testing Drupal\Tests\purge_users\Functional\SettingsFormTest
F 1 / 1 (100%)

Time: 00:02.221, Memory: 6.00 MB

There was 1 failure:

1) Drupal\Tests\purge_users\Functional\SettingsFormTest::testConfigForm
Invalid permission access purge confirmation form.

/var/www/html/core/modules/user/tests/src/Traits/UserCreationTrait.php:306
/var/www/html/core/modules/user/tests/src/Traits/UserCreationTrait.php:261
/var/www/html/core/modules/user/tests/src/Traits/UserCreationTrait.php:164
/var/www/html/modules/contrib/purge_users/tests/src/Functional/SettingsFormTest.php:34
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

FAILURES!
Tests: 1, Assertions: 3, Failures: 1.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.71.5 2024