You are here

protected function LanguageCookieLanguageSelectionPageTest::assertLanguageSelectionPageLoaded in Language Cookie 8

Assert that the language selection page is loaded.

1 call to LanguageCookieLanguageSelectionPageTest::assertLanguageSelectionPageLoaded()
LanguageCookieLanguageSelectionPageTest::testLanguageCookieAndSelectionPage in tests/src/Functional/LanguageCookieLanguageSelectionPageTest.php
Test that the language cookie and the language selection page work.

File

tests/src/Functional/LanguageCookieLanguageSelectionPageTest.php, line 77

Class

LanguageCookieLanguageSelectionPageTest
Test that the language_cookie module works well with language_selection_page.

Namespace

Drupal\Tests\language_cookie\Functional

Code

protected function assertLanguageSelectionPageLoaded() {
  $this
    ->assertSession()
    ->pageTextContains(self::LANGUAGE_SELECTION_PAGE_TEXT);
}