diff --git a/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php b/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
index 16ae67b70776f99ca56748ce16f97907a6865cb8..2953f92b4e569adf1c8a00d5cacc42738e095c77 100644
--- a/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
+++ b/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
@@ -114,7 +114,7 @@ public function testDefaultPluginManagerWithObjects() {
 
     $plugin_manager = new TestPluginManager($this->namespaces, $definitions, $module_handler, 'test_alter_hook');
 
-    $this->assertEmpty($plugin_manager->getDefinition('cherry'), 'Plugin information is available');
+    $this->assertEmpty($plugin_manager->getDefinition('cherry', FALSE), 'Plugin information is available');
   }
 
   /**