diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index 0bc11958a287f4612b0dabbd02ab00884796fdca..ce86b74875eef4fe40b09d3c45132883413e21ed 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -717,7 +717,7 @@ function drupal_generate_test_ua($prefix) {
     // request, then the outbound request has to use the same User-Agent header
     // as the inbound request. A newly generated private key for the same test
     // prefix would invalidate all subsequent inbound requests.
-    // @see \Drupal\Core\Http\Plugin\SimpletestHttpRequestSubscriber
+    // @see \Drupal\Core\Test\HttpClientMiddleware\TestHttpClientMiddleware
     if (DRUPAL_TEST_IN_CHILD_SITE && $parent_prefix = drupal_valid_test_ua()) {
       if ($parent_prefix != $prefix) {
         throw new \RuntimeException("Malformed User-Agent: Expected '$parent_prefix' but got '$prefix'.");