summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-30 00:22:03 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-30 00:22:03 +0000
commit410fcdc718391005eb729855cceb06cde05cd758 (patch)
treee5abb679216eff264b576effd371babd16c90a91 /modules/search
parent10fca34cf15638eb63b6d147d448a52c73bf4baa (diff)
downloadbrdo-410fcdc718391005eb729855cceb06cde05cd758.tar.gz
brdo-410fcdc718391005eb729855cceb06cde05cd758.tar.bz2
#761956 by David_Rothstein, Xen, sun, tstoeckler, Bojhan, zzolo, yoroy, jenlampton, linclark, BarisW: Fixed Dashboard blocks and regions should not appear on the main blocks configuration page.
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/search/search.test b/modules/search/search.test
index b4c38312c..556a98a1f 100644
--- a/modules/search/search.test
+++ b/modules/search/search.test
@@ -559,7 +559,7 @@ class SearchBlockTestCase extends DrupalWebTestCase {
// Set the block to a region to confirm block is availble.
$edit = array();
- $edit['search_form[region]'] = 'footer';
+ $edit['blocks[search_form][region]'] = 'footer';
$this->drupalPost('admin/structure/block', $edit, t('Save blocks'));
$this->assertText(t('The block settings have been updated.'), t('Block successfully move to footer region.'));
}
@@ -570,7 +570,7 @@ class SearchBlockTestCase extends DrupalWebTestCase {
function testBlock() {
// Enable the block, and place it in the 'content' region so that it isn't
// hidden on 404 pages.
- $edit = array('search_form[region]' => 'content');
+ $edit = array('blocks[search_form][region]' => 'content');
$this->drupalPost('admin/structure/block', $edit, t('Save blocks'));
// Test a normal search via the block form, from the front page.
@@ -1137,7 +1137,7 @@ class SearchConfigSettingsForm extends DrupalWebTestCase {
// Enable the search block.
$edit = array();
- $edit['search_form[region]'] = 'content';
+ $edit['blocks[search_form][region]'] = 'content';
$this->drupalPost('admin/structure/block', $edit, t('Save blocks'));
}