You are here

protected function DisabledDefaultTags::setUp in Metatag 8

Overrides BrowserTestBase::setUp

File

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

Class

DisabledDefaultTags
Verify that disabled metatag defaults do not load.

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);
}