diff --git a/core/modules/action/lib/Drupal/action/Tests/BulkFormTest.php b/core/modules/action/lib/Drupal/action/Tests/BulkFormTest.php index 8a86279..794dbc6 100644 --- a/core/modules/action/lib/Drupal/action/Tests/BulkFormTest.php +++ b/core/modules/action/lib/Drupal/action/Tests/BulkFormTest.php @@ -86,6 +86,16 @@ public function testBulkForm() { $node = node_load($nodes[1]->id(), TRUE); $this->assertTrue($node->status, 'An unchecked node is still published.'); + // Setup up a different bulk form title. + $view = views_get_view('test_bulk_form'); + $display = &$view->storage->getDisplay('default'); + $display['display_options']['fields']['action_bulk_form']['action_title'] = 'Test title'; + $view->save(); + + $this->drupalGet('test_bulk_form'); + $result = $this->xpath('//label[@for="edit-action"]'); + $this->assertEqual('Test title', (string) $result[0]); + // Set up to include just the sticky actions. $view = views_get_view('test_bulk_form'); $display = &$view->storage->getDisplay('default');