You are here

protected function LanguageSelectionPageConditionTest::assertLanguageSelectionPageNotLoaded in Language Selection Page 8.2

Assert that the language selection page is not loaded.

6 calls to LanguageSelectionPageConditionTest::assertLanguageSelectionPageNotLoaded()
LanguageSelectionPageConditionTest::testAjax in tests/src/Functional/LanguageSelectionPageConditionTest.php
Test the "xml_http_request" condition.
LanguageSelectionPageConditionTest::testBlackListedPaths in tests/src/Functional/LanguageSelectionPageConditionTest.php
Test the "Blacklisted paths" condition.
LanguageSelectionPageConditionTest::testEnabledLanguages in tests/src/Functional/LanguageSelectionPageConditionTest.php
Test the "language prefixes" condition.
LanguageSelectionPageConditionTest::testIgnoreLanguageNeutral in tests/src/Functional/LanguageSelectionPageConditionTest.php
Test the "ignore language neutral" condition.
LanguageSelectionPageConditionTest::testNegotiationMethodOrder in tests/src/Functional/LanguageSelectionPageConditionTest.php
Tests that the selection page uses the correct negotiation order.

... See full list

File

tests/src/Functional/LanguageSelectionPageConditionTest.php, line 368

Class

LanguageSelectionPageConditionTest
Tests that the condition plugins work.

Namespace

Drupal\Tests\language_selection_page\Functional

Code

protected function assertLanguageSelectionPageNotLoaded() {
  $this
    ->assertSession()
    ->pageTextNotContains(self::LANGUAGE_SELECTION_PAGE_TEXT);
}