summaryrefslogtreecommitdiff
path: root/modules/block
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-03-20 19:18:11 +0000
committerDries Buytaert <dries@buytaert.net>2009-03-20 19:18:11 +0000
commit32076b4d32a3cfdd0476bd3488d5160dd46affac (patch)
tree2ea12412d23f5c077cf20f35a026b683504f3378 /modules/block
parentc49a925eb8172805389f9d5f341e4acd9f5cd2d4 (diff)
downloadbrdo-32076b4d32a3cfdd0476bd3488d5160dd46affac.tar.gz
brdo-32076b4d32a3cfdd0476bd3488d5160dd46affac.tar.bz2
- Patch #273137 by pwolanin, David_Rothstein, chx, et al: split navigation to user and administration menu. Will require follow-up patches.
Diffstat (limited to 'modules/block')
-rw-r--r--modules/block/block.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/block/block.test b/modules/block/block.test
index 073648b3c..43ea00290 100644
--- a/modules/block/block.test
+++ b/modules/block/block.test
@@ -16,7 +16,7 @@ class BlockTestCase extends DrupalWebTestCase {
parent::setUp();
// Create and login user
- $admin_user = $this->drupalCreateUser(array('administer blocks', 'administer filters'));
+ $admin_user = $this->drupalCreateUser(array('administer blocks', 'administer filters', 'access administration pages'));
$this->drupalLogin($admin_user);
// Define the existing regions
@@ -88,8 +88,8 @@ class BlockTestCase extends DrupalWebTestCase {
function testBlock() {
// Select the Navigation block to be configured and moved.
$block = array();
- $block['module'] = 'user';
- $block['delta'] = 'navigation';
+ $block['module'] = 'system';
+ $block['delta'] = 'management';
$block['title'] = $this->randomName(8);
// Set block title to confirm that interface works and override any custom titles.