You are here

protected function EntityReferenceRevisionsAutocompleteTest::setUp in Entity Reference Revisions 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/EntityReferenceRevisionsAutocompleteTest.php, line 41

Class

EntityReferenceRevisionsAutocompleteTest
Tests the entity_reference_revisions autocomplete.

Namespace

Drupal\Tests\entity_reference_revisions\Functional

Code

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

  // Create article content type.
  $this
    ->drupalCreateContentType(array(
    'type' => 'article',
    'name' => 'Article',
  ));

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