You are here

protected function BreadcrumbTest::setUp in Blog 8.2

Same name and namespace in other branches
  1. 3.x tests/src/Functional/BreadcrumbTest.php \Drupal\Tests\blog\Functional\BreadcrumbTest::setUp()

Overrides BlogTestBase::setUp

File

tests/src/Functional/BreadcrumbTest.php, line 32

Class

BreadcrumbTest
Breadcrumb test for blog module.

Namespace

Drupal\Tests\blog\Functional

Code

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

  // Add breadcrumb block.
  $this
    ->placeBlock('system_breadcrumb_block', [
    'region' => 'content',
    'id' => 'breadcrumb',
  ]);
}