You are here

protected function FileLegacyTest::setUp in Drupal 8

Set the default field storage backend for fields created during tests.

Overrides FieldKernelTestBase::setUp

File

core/modules/file/tests/src/Kernel/FileLegacyTest.php, line 25

Class

FileLegacyTest
Tests file deprecations.

Namespace

Drupal\Tests\file\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installConfig([
    'user',
  ]);
  $this
    ->installEntitySchema('file');
  $this
    ->installSchema('file', [
    'file_usage',
  ]);
}