You are here

public function PanelsEverywhereTest::testFrontPage in Panels Everywhere 8.4

Verify the front page still loads while site_template is disabled.

File

tests/src/Functional/PanelsEverywhereTest.php, line 18

Class

PanelsEverywhereTest
Make sure that PE can be enabled.

Namespace

Drupal\Tests\panels_everywhere\Functional

Code

public function testFrontPage() {
  $siteTemplate = $this
    ->loadSiteTemplate();
  $this
    ->assertEquals(FALSE, $siteTemplate
    ->status(), 'Expect the site_template to be disabled by default');
  $this
    ->checkFrontPageWorks();
}