protected function BlockRenderOrderTest::setUp in Drupal 8
Same name and namespace in other branches
- 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\FunctionalCode
protected function setUp() {
parent::setUp();
// Create a test user.
$end_user = $this
->drupalCreateUser([
'access content',
]);
$this
->drupalLogin($end_user);
}