function MenuRouterTestCase::testTitleCallbackFalse
Test title callback set to FALSE.
File
-
modules/
simpletest/ tests/ menu.test, line 146
Class
Code
function testTitleCallbackFalse() {
$this->drupalGet('node');
$this->assertText('A title with @placeholder', 'Raw text found on the page');
$this->assertNoText(t('A title with @placeholder', array(
'@placeholder' => 'some other text',
)), 'Text with placeholder substitutions not found.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.