diff -u b/core/tests/Drupal/Tests/Core/Entity/EntityListControllerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityListControllerTest.php --- b/core/tests/Drupal/Tests/Core/Entity/EntityListControllerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityListControllerTest.php @@ -117,6 +117,12 @@ $this->role->expects($this->any()) ->method('access') ->will($this->returnValue(TRUE)); + $this->role->expects($this->any()) + ->method('hasLinkTemplate') + ->will($this->returnValue(TRUE)); + $this->role->expects($this->any()) + ->method('urlInfo') + ->will($this->returnValue(array())); $list = new EntityListController($this->entityType, $this->roleStorage, $this->moduleHandler); $list->setTranslationManager($this->translationManager);