function MediaLibrarySelectFormTest::tearDown

Same name in other branches
  1. 11.x core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php \Drupal\Tests\media_library\Unit\MediaLibrarySelectFormTest::tearDown()

File

core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php, line 29

Class

MediaLibrarySelectFormTest
@coversDefaultClass \Drupal\media_library\Plugin\views\field\MediaLibrarySelectForm @group media_library

Namespace

Drupal\Tests\media_library\Unit

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.