diff --git a/core/modules/simpletest/src/UserCreationTrait.php b/core/modules/simpletest/src/UserCreationTrait.php
index f97ec5c..7049ca4 100644
--- a/core/modules/simpletest/src/UserCreationTrait.php
+++ b/core/modules/simpletest/src/UserCreationTrait.php
@@ -12,7 +12,7 @@
  * \Drupal\simpletest\TestBase.
  *
  * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
- *   Drupal\Tests\UserCreationTrait instead.
+ *   Drupal\Tests\user\Traits\UserCreationTrait instead.
  *
  * @see https://www.drupal.org/node/2884454
  */
