diff --git a/core/modules/system/lib/Drupal/system/Tests/Installer/DistributionProfileTest.php b/core/modules/system/lib/Drupal/system/Tests/Installer/DistributionProfileTest.php index 66fae27..b544327 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Installer/DistributionProfileTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Installer/DistributionProfileTest.php @@ -7,13 +7,13 @@ namespace Drupal\system\Tests\Installer; -use Drupal\system\Tests\InstallerTest; +use Drupal\simpletest\InstallerTestBase; use Symfony\Component\Yaml\Yaml; /** * Tests the installer translation detection. */ -class DistributionProfileTest extends InstallerTest { +class DistributionProfileTest extends InstallerTestBase { /** * The distribution profile info. @@ -69,4 +69,14 @@ protected function setUpProfile() { // This step is skipped, because there is a distribution profile. } + /** + * Confirms that the installation succeeded. + */ + public function testInstalled() { + $this->assertUrl('user/1'); + $this->assertResponse(200); + // Confirm that we are logged-in after installation. + $this->assertText($this->root_user->getUsername()); + } + }