function ConfigTest::setUpBeforeClass

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php \Drupal\Tests\Composer\Plugin\ProjectMessage\ConfigTest::setUpBeforeClass()
  2. 8.9.x core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php \Drupal\Tests\Composer\Plugin\ProjectMessage\ConfigTest::setUpBeforeClass()
  3. 11.x core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php \Drupal\Tests\Composer\Plugin\ProjectMessage\ConfigTest::setUpBeforeClass()

File

core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php, line 18

Class

ConfigTest
@coversDefaultClass Drupal\Composer\Plugin\ProjectMessage\Message @group ProjectMessage

Namespace

Drupal\Tests\Composer\Plugin\ProjectMessage

Code

public static function setUpBeforeClass() : void {
    parent::setUpBeforeClass();
    vfsStream::setup('config_test', NULL, [
        'bespoke' => [
            'special_file.txt' => "Special\nFile",
        ],
    ]);
}

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