diff --git a/core/modules/block/src/Tests/BlockUiTest.php b/core/modules/block/src/Tests/BlockUiTest.php index cf17938..e64c060 100644 --- a/core/modules/block/src/Tests/BlockUiTest.php +++ b/core/modules/block/src/Tests/BlockUiTest.php @@ -92,7 +92,7 @@ public function testBlockDemoUiPage() { $this->assertEscaped('Test theme'); $this->drupalGet('admin/structure/block/demo/classy'); - $this->assertResponse(403, 'Hidden themes cannot are not supported by the block demo screen'); + $this->assertResponse(403, 'Hidden themes are not supported by the block demo screen'); } /** diff --git a/core/modules/system/src/Tests/System/ThemeTest.php b/core/modules/system/src/Tests/System/ThemeTest.php index cad1185..94dd537 100644 --- a/core/modules/system/src/Tests/System/ThemeTest.php +++ b/core/modules/system/src/Tests/System/ThemeTest.php @@ -126,7 +126,6 @@ function testThemeSettings() { // Verify the actual 'src' attribute of the logo being output in a site // branding block. $this->drupalPlaceBlock('system_branding_block', ['region' => 'header']); - $themes = \Drupal::service('theme_handler')->listInfo(); $this->drupalGet(''); $elements = $this->xpath('//header//a[@rel=:rel]/img', array( ':rel' => 'home',