function UmamiMultilingualInstallTest::testUmami

Same name in other branches
  1. 9 core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php \Drupal\Tests\demo_umami\Functional\UmamiMultilingualInstallTest::testUmami()
  2. 8.9.x core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php \Drupal\Tests\demo_umami\Functional\UmamiMultilingualInstallTest::testUmami()
  3. 10 core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php \Drupal\Tests\demo_umami\Functional\UmamiMultilingualInstallTest::testUmami()

Ensures that Umami can be installed with Spanish as the default language.

File

core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php, line 30

Class

UmamiMultilingualInstallTest
Tests the multilingual installer installing the Umami profile.

Namespace

Drupal\Tests\demo_umami\Functional

Code

public function testUmami() : void {
    $this->drupalGet('');
    // cSpell:disable-next-line
    $this->assertSession()
        ->pageTextContains('Crema catalana');
}

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