Commit cec94495 authored by catch's avatar catch
Browse files

Issue #3281444 by ravi.shankar, nod_, _shY, Vighneshh, deviantintegral, catch,...

Issue #3281444 by ravi.shankar, nod_, _shY, Vighneshh, deviantintegral, catch, lauriii: Update Installer tests to not use Bartik and Seven
parent 16d5d428
......@@ -38,7 +38,7 @@ protected function prepareEnvironment() {
'distribution' => [
'name' => 'My Distribution',
'install' => [
'theme' => 'bartik',
'theme' => 'olivero',
],
],
];
......
......@@ -32,7 +32,7 @@ protected function prepareEnvironment() {
'distribution' => [
'name' => 'My Distribution',
'install' => [
'theme' => 'bartik',
'theme' => 'claro',
'finish_url' => '/root-user',
],
],
......
......@@ -43,7 +43,7 @@ protected function prepareEnvironment() {
'name' => 'My Distribution',
'langcode' => $this->langcode,
'install' => [
'theme' => 'bartik',
'theme' => 'claro',
],
],
];
......
......@@ -45,7 +45,7 @@ protected function prepareEnvironment() {
'name' => 'My Distribution',
'langcode' => $this->langcode,
'install' => [
'theme' => 'bartik',
'theme' => 'claro',
],
],
];
......
......@@ -53,7 +53,7 @@ public function testInstaller() {
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 @@ protected function prepareEnvironment() {
'distribution' => [
'name' => $name,
'install' => [
'theme' => 'bartik',
'theme' => 'claro',
],
],
];
......@@ -57,7 +57,7 @@ protected function setUpLanguage() {
// 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 @@ public function testInstaller() {
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();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment