You are here

protected function EntityReferenceRevisionsNormalizerTest::setUp in Entity Reference Revisions 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/EntityReferenceRevisionsNormalizerTest.php, line 42

Class

EntityReferenceRevisionsNormalizerTest
Tests the entity_reference_revisions configuration.

Namespace

Drupal\Tests\entity_reference_revisions\Functional

Code

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

  // Create paragraphs and article content types.
  $this
    ->drupalCreateContentType(array(
    'type' => 'entity_revisions',
    'name' => 'Entity revisions',
  ));
  $this
    ->drupalCreateContentType(array(
    'type' => 'article',
    'name' => 'Article',
  ));

  // Place the breadcrumb, tested in fieldUIAddNewField().
  $this
    ->drupalPlaceBlock('system_breadcrumb_block');
}