function DemoUmamiProfileTest::testDemoFeatures

Same name and namespace in other branches
  1. 11.x core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php \Drupal\Tests\demo_umami\Functional\DemoUmamiProfileTest::testDemoFeatures()

Tests various capabilities of the demo profile.

File

core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php, line 45

Class

DemoUmamiProfileTest
Tests demo_umami profile.

Namespace

Drupal\Tests\demo_umami\Functional

Code

public function testDemoFeatures() : void {
  // This test coverage is organized into separate protected methods rather
  // than individual test methods to avoid having to reinstall Umami for
  // a handful of assertions each.
  $this->testUser();
  $this->testWarningsOnStatusPage();
  $this->testAppearance();
  $this->testDemonstrationWarningMessage();
  $this->testConfig();
  $this->testEditNodesByAdmin();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.