Issue #1884758 by xjm, tim.plunkett: Remove testing profile default blocks.
parent
3cf6ad7cd5
commit
ba592566b4
|
@ -63,7 +63,7 @@ class MenuRouterTest extends WebTestBase {
|
|||
variable_set('theme_default', $this->default_theme);
|
||||
config('system.theme')->set('admin', $this->admin_theme)->save();
|
||||
theme_disable(array($this->alternate_theme));
|
||||
|
||||
$this->drupalPlaceBlock('system_menu_block:menu-tools');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -80,7 +80,7 @@ class UserBlocksTests extends WebTestBase {
|
|||
* Test the Who's Online block.
|
||||
*/
|
||||
function testWhosOnlineBlock() {
|
||||
$block = entity_load('block', 'stark.online');
|
||||
$block = $this->drupalPlaceBlock('user_online_block');
|
||||
$config = $block->get('settings');
|
||||
|
||||
// Generate users.
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
id: stark.admin
|
||||
plugin: 'system_menu_block:menu-admin'
|
||||
status: '1'
|
||||
settings:
|
||||
cache: '-1'
|
||||
visibility:
|
||||
path:
|
||||
visibility: '0'
|
||||
pages: ''
|
||||
role:
|
||||
roles: { }
|
||||
node_type:
|
||||
types:
|
||||
article: '0'
|
||||
page: '0'
|
||||
visibility__active_tab: edit-visibility-path
|
||||
label: ''
|
||||
module: system
|
||||
region: sidebar_first
|
||||
weight: '0'
|
||||
langcode: und
|
|
@ -1,27 +0,0 @@
|
|||
id: stark.online
|
||||
label: 'Who''s online'
|
||||
plugin: user_online_block
|
||||
settings:
|
||||
properties:
|
||||
administrative: '1'
|
||||
seconds_online: '900'
|
||||
max_list_count: '10'
|
||||
cache: '-1'
|
||||
status: '1'
|
||||
label: 'Who''s online'
|
||||
visibility:
|
||||
path:
|
||||
visibility: '0'
|
||||
pages: ''
|
||||
role:
|
||||
roles: { }
|
||||
node_type:
|
||||
types:
|
||||
article: '0'
|
||||
page: '0'
|
||||
poll: '0'
|
||||
visibility__active_tab: edit-visibility-path
|
||||
module: user
|
||||
region: sidebar_first
|
||||
weight: '0'
|
||||
langcode: und
|
|
@ -1,21 +0,0 @@
|
|||
id: stark.tools
|
||||
plugin: 'system_menu_block:menu-tools'
|
||||
status: '1'
|
||||
settings:
|
||||
cache: '-1'
|
||||
visibility:
|
||||
path:
|
||||
visibility: '0'
|
||||
pages: ''
|
||||
role:
|
||||
roles: { }
|
||||
node_type:
|
||||
types:
|
||||
article: '0'
|
||||
page: '0'
|
||||
visibility__active_tab: edit-visibility-path
|
||||
label: ''
|
||||
module: system
|
||||
region: sidebar_first
|
||||
weight: '0'
|
||||
langcode: und
|
Loading…
Reference in New Issue