diff --git a/tests/src/Kernel/UpdaterTest.php b/tests/src/Kernel/UpdaterTest.php
index 3ae3fa4a8abf4b4f3d0ac2681711a0d4ea82f6b1..7b0080ffe5457fb3ea870a2d1203cbe7f78e7c0b 100644
--- a/tests/src/Kernel/UpdaterTest.php
+++ b/tests/src/Kernel/UpdaterTest.php
@@ -58,7 +58,7 @@ class UpdaterTest extends KernelTestBase {
       '--update-with-all-dependencies',
     ];
     $stager->stage($command, Argument::cetera())->shouldBeCalled();
-    $this->container->set('automatic_updates.stager', $stager->reveal());
+    $this->container->set('package_manager.stager', $stager->reveal());
     $this->container->get('automatic_updates.updater')->stage();
   }