By spokje on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.2.x
Introduced in version:
10.2.0
Issue links:
Description:
The method \Drupal\Tests\RandomGeneratorTrait::randomStringValidate() is deprecated. It is just a callback that is no longer called since the entire implementation moved to the new static methods in \Drupal\TestTools\Random.
You can use \Drupal\TestTools\Random::stringValidate() instead.
Before:
$this->randomStringValidate($string);
After:
use Drupal\TestTools\Random;
[...]
Random::stringValidate($string)
Impacts:
Module developers