function MenuRouterTestCase::testTitleCallbackFalse
7.x menu.test | MenuRouterTestCase::testTitleCallbackFalse() |
Test title callback set to FALSE.
File
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.');
}