Needs review
Project:
Drupal Test Traits
Version:
2.7.2
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2026 at 08:18 UTC
Updated:
23 Nov 2026 at 08:12 UTC
Jump to comment: Most recent
Performance tests in Drupal 11.5 use the $classloader property from FunctionalTestSetupTrait to determine the directory in which to write YAML files for test assertions.
DTT tests don't have this property, which leads to a fatal. It's easy to add and I think we can add it only to the DTT performance test base class to reduce API surface.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
catchComment #4
mstrelan commentedAdded a suggestion, also phpcs is failing.
Comment #5
catchApplied the suggestion, good spot.
Updated the comment, to say why it's there, but we could also do the useless 'The class loader'.