function StreamWrapperTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php \Drupal\KernelTests\Core\File\StreamWrapperTest::setUp()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php \Drupal\KernelTests\Core\File\StreamWrapperTest::setUp()
  3. 10 core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php \Drupal\KernelTests\Core\File\StreamWrapperTest::setUp()
  4. 11.x core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php \Drupal\KernelTests\Core\File\StreamWrapperTest::setUp()

Overrides DrupalWebTestCase::setUp

File

modules/simpletest/tests/file.test, line 2966

Class

StreamWrapperTest
Tests stream wrapper functions.

Code

function setUp() {
    parent::setUp('file_test');
    drupal_static_reset('file_get_stream_wrappers');
}

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