diff --git a/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php b/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php index f7c3545..4e4959c 100644 --- a/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php +++ b/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutSetsTest.php @@ -31,7 +31,7 @@ function testShortcutSetAdd() { 'id' => strtolower($this->randomName()), ); $this->drupalPost(NULL, $edit, t('Save')); - $new_set = $this->container->get('plugin.manager.entity')->getStorageController('shortcut_set')->load($edit['id']); + $new_set = $this->container->get('entity.manager')->getStorageController('shortcut_set')->load($edit['id']); $this->assertIdentical($new_set->id(), $edit['id'], 'Successfully created a shortcut set.'); $this->drupalGet('user/' . $this->admin_user->id() . '/shortcuts'); $this->assertText($new_set->label(), 'Generated shortcut set was listed as a choice on the user account page.');