function FileLegacyTest::setUp
Overrides FieldKernelTestBase::setUp
File
-
core/
modules/ file/ tests/ src/ Kernel/ FileLegacyTest.php, line 25
Class
- FileLegacyTest
- Tests file deprecations.
Namespace
Drupal\Tests\file\KernelCode
protected function setUp() {
parent::setUp();
$this->installEntitySchema('user');
$this->installConfig([
'user',
]);
$this->installEntitySchema('file');
$this->installSchema('file', [
'file_usage',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.