You are here

public function DistributionProfileTest::testInstalled in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Installer/DistributionProfileTest.php \Drupal\system\Tests\Installer\DistributionProfileTest::testInstalled()

Confirms that the installation succeeded.

File

core/modules/system/src/Tests/Installer/DistributionProfileTest.php, line 71
Contains \Drupal\system\Tests\Installer\DistributionProfileTest.

Class

DistributionProfileTest
Tests distribution profile support.

Namespace

Drupal\system\Tests\Installer

Code

public function testInstalled() {
  $this
    ->assertUrl('user/1');
  $this
    ->assertResponse(200);

  // Confirm that we are logged-in after installation.
  $this
    ->assertText($this->rootUser
    ->getUsername());
}