diff options
Diffstat (limited to 'modules/search')
-rw-r--r-- | modules/search/search.test | 6 |
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')); } |