protected function ParagraphsEntityMethodsTest::setUp

File

paragraphs/tests/src/Kernel/ParagraphsEntityMethodsTest.php, line 39

Class

ParagraphsEntityMethodsTest
Tests some methods from the Paragraph entity.

Namespace

Drupal\Tests\paragraphs\Kernel

Code

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');
}