function UserBulkFormTest::tearDown

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

File

core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php, line 23

Class

UserBulkFormTest
@coversDefaultClass \Drupal\user\Plugin\views\field\UserBulkForm[[api-linebreak]] @group user

Namespace

Drupal\Tests\user\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.