protected function JwPlayer7ConfigurationTest::setUp in JW Player 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ JwPlayer7ConfigurationTest.php, line 44
Class
- JwPlayer7ConfigurationTest
- Tests configuration of a jw player 7 preset and creation of jw player content.
Namespace
Drupal\Tests\jw_player\FunctionalCode
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');
}