Problem/Motivation

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.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork dtt-3639707

Command icon Show commands

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

catch created an issue. See original summary.

catch’s picture

Status: Active » Needs review
mstrelan’s picture

Status: Needs review » Needs work

Added a suggestion, also phpcs is failing.

catch’s picture

Status: Needs work » Needs review

Applied the suggestion, good spot.

Updated the comment, to say why it's there, but we could also do the useless 'The class loader'.