-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Problem statement
The codebase has code that references phpunit 4 and 6 😱
It should be using PHPUnit 9 as a minimum, the current bootstrap code doesn't work with Drupal 9
This leads me to believe no-one is writing PHPUnit tests, or if they are, they're not contributing back their fixes to bootstrap.php/phpunit.xml
PHP Fatal error: During class fetch: Uncaught Error: Class "Drupal\TestTools\PhpUnitCompatibility\RunnerVersion" not found in /app/web/core/tests/Drupal/Tests/PhpUnitCompatibilityTrait.php:10
PHP Warning: Class "\PHPUnit\Framework\MockObject\Matcher\InvokedRecorder" not found in /app/tests/phpunit/bootstrap.php on line 198
Proposed resolution
Bring the phpunit support up to something that works with Drupal and uses a supported version of PHPUnit
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels