diff --git a/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php b/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php index d5bbf59..95a6478 100644 --- a/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php +++ b/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php @@ -60,10 +60,12 @@ public function testTitleQuery() { $config_factory = $this->getConfigFactoryStub($config); $config_storage = $this->getConfigStorageStub($config); + $uuid = $this->getMock('Drupal\Component\Uuid\Php'); + // Creates a stub role storage controller and replace the attachLoad() // method with an empty version, because attachLoad() calls // module_implements(). - $role_storage_controller = $this->getMock('Drupal\user\RoleStorageController', array('attachLoad'), array('user_role', static::$entityInfo, $config_factory, $config_storage)); + $role_storage_controller = $this->getMock('Drupal\user\RoleStorageController', array('attachLoad'), array('user_role', static::$entityInfo, $config_factory, $config_storage, $uuid)); $entity_manager = $this->getMockBuilder('Drupal\Core\Entity\EntityManager')