You are here

protected function DefaultTags::setUp in Metatag 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/DefaultTags.php, line 47

Class

DefaultTags
Verify that the configured defaults load as intended.

Namespace

Drupal\Tests\metatag\Functional

Code

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

  // Set the front page to the main /node page, so that the front page is not
  // just the login page.
  \Drupal::configFactory()
    ->getEditable('system.site')
    ->set('page.front', '/node')
    ->save(TRUE);
}