Chris@17: siteDirectory . '/profiles/' . $this->profile; Chris@17: $contents = <<profile}.install", $contents); Chris@17: parent::visitInstaller(); Chris@17: } Chris@17: Chris@17: /** Chris@17: * Installer step: Configure settings. Chris@17: */ Chris@17: protected function setUpSettings() { Chris@17: // There are errors therefore there is nothing to do here. Chris@17: return; Chris@17: } Chris@17: Chris@17: /** Chris@17: * Final installer step: Configure site. Chris@17: */ Chris@17: protected function setUpSite() { Chris@17: // There are errors therefore there is nothing to do here. Chris@17: return; Chris@17: } Chris@17: Chris@17: /** Chris@17: * {@inheritdoc} Chris@17: */ Chris@17: protected function getConfigTarball() { Chris@17: // We're not going to get to the config import stage so this does not Chris@17: // matter. Chris@17: return __DIR__ . '/../../../fixtures/config_install/testing_config_install_no_config.tar.gz'; Chris@17: } Chris@17: Chris@17: /** Chris@17: * Confirms the installation has failed and the expected error is displayed. Chris@17: */ Chris@17: public function testConfigSync() { Chris@17: $this->assertTitle('Requirements problem | Drupal'); Chris@17: $this->assertText($this->profile); Chris@17: $this->assertText('The selected profile has a hook_install() implementation and therefore can not be installed from configuration.'); Chris@17: } Chris@17: Chris@17: }