diff --git a/core/modules/simpletest/src/UserCreationTrait.php b/core/modules/simpletest/src/UserCreationTrait.php
index f97ec5ccc2269d6f17044eadcbe3670f38bc79cc..7049ca4332b934ab45ff8988c3992347d1849b11 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
  */