You are here

protected function YamlDiscoveryTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php \Drupal\Tests\Core\Discovery\YamlDiscoveryTest::setUp()
  2. 10 core/tests/Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php \Drupal\Tests\Component\Discovery\YamlDiscoveryTest::setUp()
  3. 10 core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php \Drupal\Tests\Core\Plugin\Discovery\YamlDiscoveryTest::setUp()
Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php \Drupal\Tests\Core\Discovery\YamlDiscoveryTest::setUp()
  2. 9 core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php \Drupal\Tests\Core\Discovery\YamlDiscoveryTest::setUp()

File

core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php, line 23

Class

YamlDiscoveryTest
YamlDiscovery component unit tests.

Namespace

Drupal\Tests\Core\Discovery

Code

protected function setUp() : void {

  // Ensure that FileCacheFactory has a prefix.
  FileCacheFactory::setPrefix('prefix');
}