You are here

protected function BasicTestCaseBase::setUp in Accelerated Mobile Pages (AMP) 8.3

Overrides BrowserTestBase::setUp

File

tests/src/Functional/BasicTestCaseBase.php, line 34

Class

BasicTestCaseBase
Test basic functionality of AMP Modules.

Namespace

Drupal\Tests\amp\Functional

Code

protected function setUp() {

  // Make sure to complete the normal setup steps first.
  parent::setUp();

  // Set the front page to "node".
  \Drupal::configFactory()
    ->getEditable('system.site')
    ->set('page.front', '/node')
    ->save(TRUE);
}