diff --git a/core/composer.json b/core/composer.json
index ddcd1ceeadbd3b918d985e8c6cfccba5b4df920c..15fa3242dc22862a615a7e2fee7e39c417778e4d 100644
--- a/core/composer.json
+++ b/core/composer.json
@@ -66,6 +66,7 @@
         "drupal/core-annotation": "self.version",
         "drupal/core-bridge": "self.version",
         "drupal/core-datetime": "self.version",
+        "drupal/core-dependency-injection": "self.version",
         "drupal/core-diff": "self.version",
         "drupal/core-discovery": "self.version",
         "drupal/core-event-dispatcher": "self.version",
diff --git a/core/tests/Drupal/Tests/ComposerIntegrationTest.php b/core/tests/Drupal/Tests/ComposerIntegrationTest.php
index 5ba74b6d0c80eccf5974c0b35d8eb9303dbeb249..5ab72f636ac2a66f7e594d74123214689b634b0f 100644
--- a/core/tests/Drupal/Tests/ComposerIntegrationTest.php
+++ b/core/tests/Drupal/Tests/ComposerIntegrationTest.php
@@ -48,6 +48,7 @@ protected function getPaths() {
       $this->root . '/core/lib/Drupal/Component/Assertion',
       $this->root . '/core/lib/Drupal/Component/Bridge',
       $this->root . '/core/lib/Drupal/Component/Datetime',
+      $this->root . '/core/lib/Drupal/Component/DependencyInjection',
       $this->root . '/core/lib/Drupal/Component/Diff',
       $this->root . '/core/lib/Drupal/Component/Discovery',
       $this->root . '/core/lib/Drupal/Component/EventDispatcher',