You are here

protected function ParagraphsAdministrationTest::setUp in Paragraphs 8

Same name in this branch
  1. 8 tests/src/Functional/WidgetLegacy/ParagraphsAdministrationTest.php \Drupal\Tests\paragraphs\Functional\WidgetLegacy\ParagraphsAdministrationTest::setUp()
  2. 8 tests/src/Functional/WidgetStable/ParagraphsAdministrationTest.php \Drupal\Tests\paragraphs\Functional\WidgetStable\ParagraphsAdministrationTest::setUp()

Overrides ParagraphsTestBase::setUp

File

tests/src/Functional/WidgetLegacy/ParagraphsAdministrationTest.php, line 28

Class

ParagraphsAdministrationTest
Tests the configuration of paragraphs.

Namespace

Drupal\Tests\paragraphs\Functional\WidgetLegacy

Code

protected function setUp() : void {
  parent::setUp();

  // Create paragraphs content type.
  $this
    ->drupalCreateContentType(array(
    'type' => 'paragraphs',
    'name' => 'Paragraphs',
  ));
}