function ThemeTestCase::testDrupalAddRegionContent
Test the drupal_add_region_content() function.
File
-
modules/
simpletest/ tests/ theme.test, line 162
Class
- ThemeTestCase
- Unit tests for the Theme API.
Code
function testDrupalAddRegionContent() {
$this->drupalGet('theme-test/drupal-add-region-content');
$this->assertText('Hello');
$this->assertText('World');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.