diff --git a/core/modules/user/lib/Drupal/user/Tests/Views/AccessRoleUITest.php b/core/modules/user/lib/Drupal/user/Tests/Views/AccessRoleUITest.php index 3f59b3b..3ae1dc6 100644 --- a/core/modules/user/lib/Drupal/user/Tests/Views/AccessRoleUITest.php +++ b/core/modules/user/lib/Drupal/user/Tests/Views/AccessRoleUITest.php @@ -55,7 +55,7 @@ protected function setUp() { * Tests the role access plugin UI. */ public function testAccessRoleUI() { - $entity_manager = $this->container->get('plugin.manager.entity'); + $entity_manager = $this->container->get('entity.manager'); $entity_manager->getStorageController('user_role')->create(array('id' => 'custom_role', 'label' => 'Custom role'))->save(); $access_url = "admin/structure/views/nojs/display/test_access_role/default/access_options"; $this->drupalPostForm($access_url, array('access_options[role][custom_role]' => 1), t('Apply'));