function CommentBulkFormTest::tearDown

Same name 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. 11.x 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 \Drupal\comment\Plugin\views\field\CommentBulkForm @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.