function InstallerSkipPermissionHardeningTest::testInstalled

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

Verifies the expected behaviors of the installation result.

File

core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php, line 43

Class

InstallerSkipPermissionHardeningTest
Verifies that the installer skipped permission hardening.

Namespace

Drupal\FunctionalTests\Installer

Code

public function testInstalled() : void {
    $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.