diff --git a/core/modules/system/src/Tests/Installer/InstallerNonEnglishInstallationTest.php b/core/modules/system/src/Tests/Installer/InstallerNonEnglishInstallationTest.php index 1af9133..e69de29 100644 --- a/core/modules/system/src/Tests/Installer/InstallerNonEnglishInstallationTest.php +++ b/core/modules/system/src/Tests/Installer/InstallerNonEnglishInstallationTest.php @@ -1,50 +0,0 @@ -translatePostValues($this->parameters['forms']['install_configure_form']); - $this->drupalPostForm(NULL, $edit, $this->translations['Save and continue']); - - // Make sure theme rendered with proper CSS ID. - $this->assertFieldByXPath('//div[@id="page-wrapper"]'); - $this->assertFieldByXPath('//div[@id="header"]'); - $this->assertFieldByXPath('//div[@id="messages"]'); - $this->assertFieldByXPath('//div[@id="main-wrapper"]'); - $this->assertFieldByXPath('//div[@id="main-menu"]'); - $this->assertFieldByXPath('//div[@id="sidebar-first"]'); - $this->assertFieldByXPath('//div[@id="footer-wrapper"]'); - - } - - /** - * Confirms that the installation succeeded. - */ - public function testInstalled() { - $this->assertUrl('user/1'); - $this->assertResponse(200); - } - -} diff --git a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php index 5a24f27..1ab8e5a 100644 --- a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php +++ b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php @@ -54,6 +54,12 @@ public function testInstaller() { // Ensure that we can enable basic_auth on a non-english site. $this->drupalPostForm('admin/modules', array('modules[Web services][basic_auth][enable]' => TRUE), t('Save configuration')); $this->assertResponse(200); + + // Assert that the theme CSS was added to the page. + $edit = array('preprocess_css' => FALSE); + $this->drupalPostForm('admin/config/development/performance', $edit, t('Save configuration')); + $this->drupalGet(''); + $this->assertRaw('stark/css/layout.css'); } }