function FrontPageLinkDependenciesTest::setUp

Overrides BrowserTestBase::setUp

File

modules/testing_example/tests/src/Functional/FrontPageLinkDependenciesTest.php, line 45

Class

FrontPageLinkDependenciesTest
Tests core menu behavior.

Namespace

Drupal\Tests\testing_example\Functional

Code

protected function setUp() : void {
  // Always call the parent setUp().
  parent::setUp();
  // Add the Tools menu block, as provided by the Block module.
  $this->placeBlock('system_menu_block:tools');
  // Add a content type.
  $this->contentType = $this->createContentType();
}