You are here

protected function ScheduledUpdatesTestBase::setUp in Scheduled Updates 8

Sets the test up.

Overrides BrowserTestBase::setUp

2 calls to ScheduledUpdatesTestBase::setUp()
EmbeddedScheduledUpdateTypeTestBase::setUp in tests/src/FunctionalJavascript/EmbeddedScheduledUpdateTypeTestBase.php
Sets the test up.
IndependentScheduledUpdateTypeTest::setUp in tests/src/FunctionalJavascript/IndependentScheduledUpdateTypeTest.php
Sets the test up.
2 methods override ScheduledUpdatesTestBase::setUp()
EmbeddedScheduledUpdateTypeTestBase::setUp in tests/src/FunctionalJavascript/EmbeddedScheduledUpdateTypeTestBase.php
Sets the test up.
IndependentScheduledUpdateTypeTest::setUp in tests/src/FunctionalJavascript/IndependentScheduledUpdateTypeTest.php
Sets the test up.

File

tests/src/FunctionalJavascript/ScheduledUpdatesTestBase.php, line 65
Contains \Drupal\Tests\scheduled_updates\ScheduledUpdatesTestBase.

Class

ScheduledUpdatesTestBase
Define base class for Scheduled Updates Tests

Namespace

Drupal\Tests\scheduled_updates\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser($this->permissions);
  $this
    ->drupalPlaceBlock('local_tasks_block', [
    'id' => 'tabs_block',
  ]);
  $this
    ->drupalPlaceBlock('page_title_block');
  $this
    ->drupalPlaceBlock('local_actions_block', [
    'id' => 'actions_block',
  ]);
  $this
    ->setupContentTypes();
}