Commit 3e69d365 authored by Dries's avatar Dries

Issue #2207197 by longwave, andrei.dincu, jhodgdon: Obsolete docs in...

Issue #2207197 by longwave, andrei.dincu, jhodgdon: Obsolete docs in WebTestBase::drupalPlaceBlock()?.
parent 3ce7c36b
......@@ -35,9 +35,6 @@ public static function getInfo() {
function testNewDefaultThemeBlocks() {
$default_theme = \Drupal::config('system.theme')->get('default');
// Add several block instances.
$this->drupalLogin($this->drupalCreateUser(array('administer blocks')));
// Add two instances of the user login block.
$this->drupalPlaceBlock('user_login_block', array(
'id' => $default_theme . '_' . strtolower($this->randomName(8)),
......@@ -50,7 +47,6 @@ function testNewDefaultThemeBlocks() {
$this->drupalPlaceBlock('system_powered_by_block', array(
'id' => $default_theme . '_' . strtolower($this->randomName(8)),
));
$this->drupalLogout();
// Enable a different theme.
$new_theme = 'bartik';
......
......@@ -338,9 +338,6 @@ protected function drupalCreateContentType(array $values = array()) {
/**
* Creates a block instance based on default settings.
*
* Note: Until this can be done programmatically, the active user account
* must have permission to administer blocks.
*
* @param string $plugin_id
* The plugin ID of the block type for this block instance.
* @param array $settings
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment