By alexpott on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.1.x
Introduced in version:
9.1.0-alpha1
Issue links:
Description:
\Drupal\Tests\Traits\ExpectDeprecationTrait() is deprecated.
Use \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait::expectDeprecation() instead,
Impacts:
Module developers
Comments
when I attempt to run the
when I attempt to run the unit tests on 9.1 I get a fatal error as \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait does not seem to be available. Switching back to
Use \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait instead of \Drupal\Tests\Traits\ExpectDeprecationTrait seems to rectify the problem for me?