Issue #3281444 by ravi.shankar, nod_, _shY, Vighneshh, deviantintegral, catch, lauriii: Update Installer tests to not use Bartik and Seven
parent
16d5d4287f
commit
cec944956b
|
@ -38,7 +38,7 @@ class DistributionProfileExistingSettingsTest extends InstallerTestBase {
|
|||
'distribution' => [
|
||||
'name' => 'My Distribution',
|
||||
'install' => [
|
||||
'theme' => 'bartik',
|
||||
'theme' => 'olivero',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
|
@ -32,7 +32,7 @@ class DistributionProfileTest extends InstallerTestBase {
|
|||
'distribution' => [
|
||||
'name' => 'My Distribution',
|
||||
'install' => [
|
||||
'theme' => 'bartik',
|
||||
'theme' => 'claro',
|
||||
'finish_url' => '/root-user',
|
||||
],
|
||||
],
|
||||
|
|
|
@ -43,7 +43,7 @@ class DistributionProfileTranslationQueryTest extends InstallerTestBase {
|
|||
'name' => 'My Distribution',
|
||||
'langcode' => $this->langcode,
|
||||
'install' => [
|
||||
'theme' => 'bartik',
|
||||
'theme' => 'claro',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
|
@ -45,7 +45,7 @@ class DistributionProfileTranslationTest extends InstallerTestBase {
|
|||
'name' => 'My Distribution',
|
||||
'langcode' => $this->langcode,
|
||||
'install' => [
|
||||
'theme' => 'bartik',
|
||||
'theme' => 'claro',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
|
@ -53,7 +53,7 @@ class InstallerTest extends InstallerTestBase {
|
|||
protected function setUpLanguage() {
|
||||
// Test that \Drupal\Core\Render\BareHtmlPageRenderer adds assets and
|
||||
// metatags as expected to the first page of the installer.
|
||||
$this->assertSession()->responseContains("core/themes/claro/css/components/button.css");
|
||||
$this->assertSession()->responseContains("css/components/button.css");
|
||||
$this->assertSession()->responseContains('<meta charset="utf-8" />');
|
||||
|
||||
// Assert that the expected title is present.
|
||||
|
|
|
@ -37,7 +37,7 @@ class MultipleDistributionsProfileTest extends InstallerTestBase {
|
|||
'distribution' => [
|
||||
'name' => $name,
|
||||
'install' => [
|
||||
'theme' => 'bartik',
|
||||
'theme' => 'claro',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
@ -57,7 +57,7 @@ class MultipleDistributionsProfileTest extends InstallerTestBase {
|
|||
// Verify that the distribution name appears.
|
||||
$this->assertSession()->pageTextContains('distribution_one');
|
||||
// Verify that the requested theme is used.
|
||||
$this->assertSession()->responseContains('bartik');
|
||||
$this->assertSession()->responseContains('claro');
|
||||
// Verify that the "Choose profile" step does not appear.
|
||||
$this->assertSession()->pageTextNotContains('profile');
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ class StandardInstallerTest extends ConfigAfterInstallerTestBase {
|
|||
protected function setUpSite() {
|
||||
// Test that the correct theme is being used.
|
||||
$this->assertSession()->responseNotContains('olivero');
|
||||
$this->assertSession()->responseContains('themes/claro/css/theme/install-page.css');
|
||||
$this->assertSession()->responseContains('css/theme/install-page.css');
|
||||
parent::setUpSite();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue