Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / block / src / Tests / NonDefaultBlockAdminTest.php
diff --git a/web/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php b/web/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php
deleted file mode 100644 (file)
index fc2f33c..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-namespace Drupal\block\Tests;
-
-use Drupal\simpletest\WebTestBase;
-
-/**
- * Tests the block administration page for a non-default theme.
- *
- * @group block
- */
-class NonDefaultBlockAdminTest extends WebTestBase {
-
-  /**
-   * Modules to install.
-   *
-   * @var array
-   */
-  public static $modules = ['block'];
-
-  /**
-   * {@inheritdoc}
-   */
-  protected function setUp() {
-    parent::setUp();
-
-    $this->drupalPlaceBlock('local_tasks_block');
-  }
-
-  /**
-   * Test non-default theme admin.
-   */
-  public function testNonDefaultBlockAdmin() {
-    $admin_user = $this->drupalCreateUser(['administer blocks', 'administer themes']);
-    $this->drupalLogin($admin_user);
-    $new_theme = 'bartik';
-    \Drupal::service('theme_handler')->install([$new_theme]);
-    $this->drupalGet('admin/structure/block/list/' . $new_theme);
-    $this->assertText('Bartik(' . t('active tab') . ')', 'Tab for non-default theme found.');
-  }
-
-}