function BlockHTMLIdTestCase::testHTMLId

Test valid HTML id.

File

modules/block/block.test, line 708

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.