summaryrefslogtreecommitdiffstats
path: root/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php')
-rw-r--r--core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php b/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
index 4e86bb7..8653ca3 100644
--- a/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
+++ b/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
@@ -54,6 +54,8 @@ class CommentBulkFormTest extends UnitTestCase {
$language_manager = $this->getMock('Drupal\Core\Language\LanguageManagerInterface');
+ $messenger = $this->getMock('Drupal\Core\Messenger\MessengerInterface');
+
$views_data = $this->getMockBuilder('Drupal\views\ViewsData')
->disableOriginalConstructor()
->getMock();
@@ -84,7 +86,7 @@ class CommentBulkFormTest extends UnitTestCase {
$definition['title'] = '';
$options = [];
- $comment_bulk_form = new CommentBulkForm([], 'comment_bulk_form', $definition, $entity_manager, $language_manager);
+ $comment_bulk_form = new CommentBulkForm([], 'comment_bulk_form', $definition, $entity_manager, $language_manager, $messenger);
$comment_bulk_form->init($executable, $display, $options);
$this->assertAttributeEquals(array_slice($actions, 0, -1, TRUE), 'actions', $comment_bulk_form);