You are here

protected function BlockRenderOrderTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block/tests/src/Functional/BlockRenderOrderTest.php \Drupal\Tests\block\Functional\BlockRenderOrderTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/block/tests/src/Functional/BlockRenderOrderTest.php, line 27

Class

BlockRenderOrderTest
Tests blocks are being rendered in order by weight.

Namespace

Drupal\Tests\block\Functional

Code

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

  // Create a test user.
  $end_user = $this
    ->drupalCreateUser([
    'access content',
  ]);
  $this
    ->drupalLogin($end_user);
}