Skip to content
Snippets Groups Projects
Commit ba592566 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1884758 by xjm, tim.plunkett: Remove testing profile default blocks.

parent 3cf6ad7c
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -63,7 +63,7 @@ function setUp() {
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 @@ function testUserLoginBlock() {
* 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.
......
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
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
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment