diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-09-07 06:44:37 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-09-07 06:44:37 -0400 |
commit | 7229ddc267d5ae681dd17963726b5388aef5f17c (patch) | |
tree | 6344d8596451e0b998ca7084623604a6355ff5e2 /modules/block | |
parent | 774bf87366b87507d95eda9c491deee8429e8cb6 (diff) | |
download | brdo-7229ddc267d5ae681dd17963726b5388aef5f17c.tar.gz brdo-7229ddc267d5ae681dd17963726b5388aef5f17c.tar.bz2 |
- Patch #1267092 by xjm: some comment cleanup in block.test.
Diffstat (limited to 'modules/block')
-rw-r--r-- | modules/block/block.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/block/block.test b/modules/block/block.test index 03f3048b4..216668719 100644 --- a/modules/block/block.test +++ b/modules/block/block.test @@ -83,7 +83,7 @@ class BlockTestCase extends DrupalWebTestCase { $this->assertTrue(array_key_exists('subject', $data) && empty($data['subject']), t('block_block_view() provides an empty block subject, since custom blocks do not have default titles.')); $this->assertEqual(check_markup($custom_block['body[value]'], $format), $data['content'], t('block_block_view() provides correct block content.')); - // Check if the block can be moved to all availble regions. + // Check whether the block can be moved to all available regions. $custom_block['module'] = 'block'; $custom_block['delta'] = $bid; foreach ($this->regions as $region) { @@ -307,7 +307,7 @@ class BlockTestCase extends DrupalWebTestCase { // Check to see if the block was created by checking that it's in the database. $this->assertNotNull($bid, t('Block found in database')); - // Check if the block can be moved to all availble regions. + // Check whether the block can be moved to all available regions. foreach ($this->regions as $region) { $this->moveBlockToRegion($block, $region); } @@ -321,7 +321,7 @@ class BlockTestCase extends DrupalWebTestCase { $this->assertText(t('The block settings have been updated.'), t('Block successfully move to disabled region.')); $this->assertNoText(t($block['title']), t('Block no longer appears on page.')); - // Confirm that the regions xpath is not availble + // Confirm that the region's xpath is not available. $xpath = $this->buildXPathQuery('//div[@id=:id]/*', array(':id' => 'block-block-' . $bid)); $this->assertNoFieldByXPath($xpath, FALSE, t('Custom block found in no regions.')); |