protected function NodeBodyFieldStorageTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/Tests/NodeBodyFieldStorageTest.php \Drupal\node\Tests\NodeBodyFieldStorageTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ node/ src/ Tests/ NodeBodyFieldStorageTest.php, line 29 - Contains \Drupal\node\Tests\NodeBodyFieldStorageTest.
Class
- NodeBodyFieldStorageTest
- Tests node body field storage.
Namespace
Drupal\node\TestsCode
protected function setUp() {
parent::setUp();
$this
->installSchema('system', 'sequences');
$this
->installSchema('system', array(
'router',
));
// Necessary for module uninstall.
$this
->installSchema('user', 'users_data');
$this
->installEntitySchema('user');
$this
->installEntitySchema('node');
$this
->installConfig(array(
'field',
'node',
));
}