diff --git a/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php b/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php index 932c5b8..1a4bb1f 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php @@ -776,7 +776,7 @@ public function testDedicatedTableSchema() { )); // Setup a field having a dedicated schema. - $field_name = $this->randomName(); + $field_name = $this->getRandomGenerator()->name(); $this->setUpStorageDefinition($field_name, array( 'columns' => array( 'shape' => array(