You are here

protected function JwPlayerConfigurationTest::setUp in JW Player 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/JwPlayerConfigurationTest.php, line 40

Class

JwPlayerConfigurationTest
Tests configuration of a jw player preset and creation of jw player content.

Namespace

Drupal\Tests\jw_player\Functional

Code

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

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

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