protected function FilteredStorageTest::setUp in Config Filter 8
Same name and namespace in other branches
- 8.2 src/Tests/FilteredStorageTest.php \Drupal\config_filter\Tests\FilteredStorageTest::setUp()
Overrides CachedStorageTest::setUp
File
- src/
Tests/ FilteredStorageTest.php, line 25
Class
- FilteredStorageTest
- Tests StorageWrapper operations using the CachedStorage.
Namespace
Drupal\config_filter\TestsCode
protected function setUp() : void {
parent::setUp();
// The storage is a wrapper with a transparent filter.
// So all inherited tests should still pass.
$this->storage = new FilteredStorage($this->storage, [
new TransparentFilter(),
]);
}