function BlockHTMLIdTestCase::testHTMLId

7.x block.test BlockHTMLIdTestCase::testHTMLId()

Test valid HTML id.

File

drupal-7.x/modules/block/block.test, line 707
Tests for block.module.

Class

BlockHTMLIdTestCase
Test block HTML id validity.

Code

function testHTMLId() {
  $this->drupalGet('');
  $this->assertRaw('block-block-test-test-html-id', 'HTML id for test block is valid.');
}