X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fblock%2Fsrc%2FTests%2FNonDefaultBlockAdminTest.php;fp=web%2Fcore%2Fmodules%2Fblock%2Fsrc%2FTests%2FNonDefaultBlockAdminTest.php;h=0000000000000000000000000000000000000000;hp=fc2f33c0dad04f1260d246e3ba6bb3da00d39d08;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php b/web/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php deleted file mode 100644 index fc2f33c0d..000000000 --- a/web/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php +++ /dev/null @@ -1,42 +0,0 @@ -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.'); - } - -}