core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php index bcc03ff..36a582a 100644 --- a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php +++ b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php @@ -82,9 +82,10 @@ public function testBuildRowEntityList() { ); $route_provider = $this->getMock('Drupal\Core\Routing\RouteProviderInterface'); $state = $this->getMock('\Drupal\Core\State\StateInterface'); + $menu_storage = $this->getMock('\Drupal\Core\Entity\EntityStorageInterface'); $page_display = $this->getMock('Drupal\views\Plugin\views\display\Page', array('initDisplay', 'getPath'), - array(array(), 'default', $display_manager->getDefinition('page'), $route_provider, $state) + array(array(), 'default', $display_manager->getDefinition('page'), $route_provider, $state, $menu_storage) ); $page_display->expects($this->any()) ->method('getPath')