function CommentBulkFormTest::tearDown

Same name and namespace in other branches
  1. 9 core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php \Drupal\Tests\comment\Unit\Plugin\views\field\CommentBulkFormTest::tearDown()
  2. 8.9.x core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php \Drupal\Tests\comment\Unit\Plugin\views\field\CommentBulkFormTest::tearDown()
  3. 10 core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php \Drupal\Tests\comment\Unit\Plugin\views\field\CommentBulkFormTest::tearDown()

File

core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php, line 23

Class

CommentBulkFormTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21comment%21src%21Plugin%21views%21field%21CommentBulkForm.php/class/CommentBulkForm/11.x" title="Defines a comment operations bulk form element." class="local">\Drupal\comment\Plugin\views\field\CommentBulkForm</a> @group comment

Namespace

Drupal\Tests\comment\Unit\Plugin\views\field

Code

protected function tearDown() : void {
    parent::tearDown();
    $container = new ContainerBuilder();
    \Drupal::setContainer($container);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.