function InstallerLanguagePageTest::testInstalled

Same name in other branches
  1. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php \Drupal\FunctionalTests\Installer\InstallerLanguagePageTest::testInstalled()
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php \Drupal\FunctionalTests\Installer\InstallerLanguagePageTest::testInstalled()
  3. 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php \Drupal\FunctionalTests\Installer\InstallerLanguagePageTest::testInstalled()

Confirms that the installation succeeded.

File

core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php, line 44

Class

InstallerLanguagePageTest
Verifies that the installer language list combines local and remote languages.

Namespace

Drupal\FunctionalTests\Installer

Code

public function testInstalled() {
    $this->assertSession()
        ->addressEquals('user/1');
    $this->assertSession()
        ->statusCodeEquals(200);
}

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