diff --git a/core/modules/path/src/Tests/PathAliasTest.php b/core/modules/path/src/Tests/PathAliasTest.php
index c310f76..7e85cda 100644
--- a/core/modules/path/src/Tests/PathAliasTest.php
+++ b/core/modules/path/src/Tests/PathAliasTest.php
@@ -9,7 +9,6 @@
 
 use Drupal\Component\Utility\Unicode;
 use Drupal\Core\Cache\Cache;
-use Drupal\simpletest\RandomGeneratorTrait;
 use Drupal\Core\Database\Database;
 
 /**
@@ -20,8 +19,6 @@
  */
 class PathAliasTest extends PathTestBase {
 
-  use RandomGeneratorTrait;
-
   /**
    * Modules to enable.
    *
