protected function ParagraphsEntityMethodsTest::setUp in Paragraphs 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ ParagraphsEntityMethodsTest.php, line 39
Class
- ParagraphsEntityMethodsTest
- Tests some methods from the Paragraph entity.
Namespace
Drupal\Tests\paragraphs\KernelCode
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installEntitySchema('node');
$this
->installEntitySchema('paragraph');
$this
->installSchema('system', [
'sequences',
]);
$this
->installSchema('node', [
'node_access',
]);
\Drupal::moduleHandler()
->loadInclude('paragraphs', 'install');
}