protected function FileCacheTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php \Drupal\Tests\Component\FileCache\FileCacheTest::setUp()
- 9 core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php \Drupal\Tests\Component\FileCache\FileCacheTest::setUp()
File
- core/
tests/ Drupal/ Tests/ Component/ FileCache/ FileCacheTest.php, line 31
Class
- FileCacheTest
- @coversDefaultClass \Drupal\Component\FileCache\FileCache @group FileCache
Namespace
Drupal\Tests\Component\FileCacheCode
protected function setUp() : void {
parent::setUp();
$this->fileCache = new FileCache('prefix', 'test', '\\Drupal\\Tests\\Component\\FileCache\\StaticFileCacheBackend', [
'bin' => 'llama',
]);
$this->staticFileCache = new StaticFileCacheBackend([
'bin' => 'llama',
]);
}