diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-26 16:30:28 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-26 16:30:28 +0000 |
commit | 2a7c00bc4ae154d51a01bc0f1f59ce7d70126181 (patch) | |
tree | 25fd30ccaa3740ecf305e10295216cd10c0fa94e /modules/block/block.test | |
parent | f5d0e11f61c93d1ed4a6660408002b9ee1e8bd58 (diff) | |
download | brdo-2a7c00bc4ae154d51a01bc0f1f59ce7d70126181.tar.gz brdo-2a7c00bc4ae154d51a01bc0f1f59ce7d70126181.tar.bz2 |
- Patch #441962 by brianV: code style and documentation clean-up.
Diffstat (limited to 'modules/block/block.test')
-rw-r--r-- | modules/block/block.test | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/block/block.test b/modules/block/block.test index 00bc556a3..2c456739c 100644 --- a/modules/block/block.test +++ b/modules/block/block.test @@ -1,6 +1,11 @@ <?php // $Id$ +/** + * @file + * Tests for the block module + */ + class BlockTestCase extends DrupalWebTestCase { protected $regions; @@ -116,7 +121,7 @@ class BlockTestCase extends DrupalWebTestCase { // Confirm that the regions xpath is not availble $xpath = '//div[@id="block-block-' . $bid . '"]/*'; - $this->assertNoFieldByXPath($xpath, FALSE, t('Box found in no regions. ')); + $this->assertNoFieldByXPath($xpath, FALSE, t('Box found in no regions.')); // For convenience of developers, put the navigation block back. $edit = array(); @@ -140,7 +145,7 @@ class BlockTestCase extends DrupalWebTestCase { $this->drupalPost('admin/build/block', $edit, t('Save blocks')); // Confirm that the block was moved to the proper region. - $this->assertText(t('The block settings have been updated.'), t('Block successfully moved to %region_name region.', array( '%region_name'=> $region['name']))); + $this->assertText(t('The block settings have been updated.'), t('Block successfully moved to %region_name region.', array( '%region_name' => $region['name']))); // Confirm that the block is being displayed. $this->assertText(t($block['title']), t('Block successfully being displayed on the page.')); |