Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
071fa21e
Commit
071fa21e
authored
Jun 16, 2013
by
webchick
Browse files
Issue
#2004408
follow-up by tim.plunkett: Fix tests to account for previous fix.
parent
9ab3d605
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewListControllerTest.php
View file @
071fa21e
...
...
@@ -69,10 +69,13 @@ public function testBuildRowEntityList() {
)
),
)));
$module_handler
=
$this
->
getMockBuilder
(
'Drupal\Core\Extension\ModuleHandler'
)
->
disableOriginalConstructor
()
->
getMock
();
// Setup a view list controller with a mocked buildOperations method,
// because t() is called on there.
$view_list_controller
=
$this
->
getMock
(
'Drupal\views_ui\ViewListController'
,
array
(
'buildOperations'
),
array
(
'view'
,
$storage_controller
,
$entity_info
,
$display_manager
));
$view_list_controller
=
$this
->
getMock
(
'Drupal\views_ui\ViewListController'
,
array
(
'buildOperations'
),
array
(
'view'
,
$storage_controller
,
$entity_info
,
$display_manager
,
$module_handler
));
$view_list_controller
->
expects
(
$this
->
any
())
->
method
(
'buildOperations'
)
->
will
(
$this
->
returnValue
(
array
()));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment