You are here

function BlockHTMLIdTestCase::testHTMLId in Drupal 7

Test valid HTML id.

File

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.');
}