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. 10 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 <a href="/api/drupal/core%21modules%21user%21src%21Plugin%21views%21field%21UserBulkForm.php/class/UserBulkForm/11.x" title="Defines a user operations bulk form element." class="local">\Drupal\user\Plugin\views\field\UserBulkForm</a> @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.