Change record status: 
Project: 
Introduced in branch: 
9.1.x
Introduced in version: 
9.1.0-alpha1
Description: 

\Drupal\Tests\Traits\ExpectDeprecationTrait() is deprecated.

Use \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait::expectDeprecation() instead,

Impacts: 
Module developers

Comments

2dareis2do’s picture

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?