protected function PhpStorageFactoryTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php \Drupal\Tests\system\Kernel\PhpStorage\PhpStorageFactoryTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
modules/ system/ tests/ src/ Kernel/ PhpStorage/ PhpStorageFactoryTest.php, line 23
Class
- PhpStorageFactoryTest
- Tests the PHP storage factory.
Namespace
Drupal\Tests\system\Kernel\PhpStorageCode
protected function setUp() {
parent::setUp();
// Empty the PHP storage settings, as KernelTestBase sets it by default.
$settings = Settings::getAll();
unset($settings['php_storage']);
new Settings($settings);
}