Loading core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php +2 −4 Original line number Diff line number Diff line Loading @@ -57,15 +57,13 @@ public function testConfigSchema() { } /** * Tests that the Claro theme can be uninstalled, despite being experimental. * * @todo Remove in https://www.drupal.org/project/drupal/issues/3066007 * Tests that the Claro theme can be uninstalled. */ public function testIsUninstallable() { $this->drupalLogin($this->drupalCreateUser(['access administration pages', 'administer themes'])); $this->drupalGet('admin/appearance'); $this->cssSelect('a[title="Install Seven as default theme"]')[0]->click(); $this->cssSelect('a[title="Install <strong>Test theme</strong> as default theme"]')[0]->click(); $this->cssSelect('a[title="Uninstall Claro theme"]')[0]->click(); $this->assertSession()->pageTextContains('The Claro theme has been uninstalled.'); } Loading core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -124,7 +124,7 @@ public function testIsUninstallable() { ])); $this->drupalGet('admin/appearance'); $this->cssSelect('a[title="Install Bartik as default theme"]')[0]->click(); $this->cssSelect('a[title="Install <strong>Test theme</strong> as default theme"]')[0]->click(); $this->cssSelect('a[title="Uninstall Olivero theme"]')[0]->click(); $this->assertSession()->pageTextContains('The Olivero theme has been uninstalled.'); } Loading core/tests/Drupal/FunctionalTests/Theme/BartikTest.php→core/themes/bartik/tests/src/Functional/BartikTest.php +1 −1 Original line number Diff line number Diff line <?php namespace Drupal\FunctionalTests\Theme; namespace Drupal\Tests\bartik\Functional; use Drupal\Tests\BrowserTestBase; Loading core/tests/Drupal/FunctionalTests/Theme/SevenLayoutBuilderTest.php→core/themes/seven/tests/src/Functional/SevenLayoutBuilderTest.php +1 −1 Original line number Diff line number Diff line <?php namespace Drupal\FunctionalTests\Theme; namespace Drupal\Tests\seven\Functional; use Drupal\Tests\BrowserTestBase; Loading Loading
core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php +2 −4 Original line number Diff line number Diff line Loading @@ -57,15 +57,13 @@ public function testConfigSchema() { } /** * Tests that the Claro theme can be uninstalled, despite being experimental. * * @todo Remove in https://www.drupal.org/project/drupal/issues/3066007 * Tests that the Claro theme can be uninstalled. */ public function testIsUninstallable() { $this->drupalLogin($this->drupalCreateUser(['access administration pages', 'administer themes'])); $this->drupalGet('admin/appearance'); $this->cssSelect('a[title="Install Seven as default theme"]')[0]->click(); $this->cssSelect('a[title="Install <strong>Test theme</strong> as default theme"]')[0]->click(); $this->cssSelect('a[title="Uninstall Claro theme"]')[0]->click(); $this->assertSession()->pageTextContains('The Claro theme has been uninstalled.'); } Loading
core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -124,7 +124,7 @@ public function testIsUninstallable() { ])); $this->drupalGet('admin/appearance'); $this->cssSelect('a[title="Install Bartik as default theme"]')[0]->click(); $this->cssSelect('a[title="Install <strong>Test theme</strong> as default theme"]')[0]->click(); $this->cssSelect('a[title="Uninstall Olivero theme"]')[0]->click(); $this->assertSession()->pageTextContains('The Olivero theme has been uninstalled.'); } Loading
core/tests/Drupal/FunctionalTests/Theme/BartikTest.php→core/themes/bartik/tests/src/Functional/BartikTest.php +1 −1 Original line number Diff line number Diff line <?php namespace Drupal\FunctionalTests\Theme; namespace Drupal\Tests\bartik\Functional; use Drupal\Tests\BrowserTestBase; Loading
core/tests/Drupal/FunctionalTests/Theme/SevenLayoutBuilderTest.php→core/themes/seven/tests/src/Functional/SevenLayoutBuilderTest.php +1 −1 Original line number Diff line number Diff line <?php namespace Drupal\FunctionalTests\Theme; namespace Drupal\Tests\seven\Functional; use Drupal\Tests\BrowserTestBase; Loading