You are here

function MenuIncTestCase::testTitleCallbackFalse in SimpleTest 7

Test title callback set to FALSE.

File

tests/menu.test, line 29
Provides SimpleTests for menu.inc.

Class

MenuIncTestCase
@file Provides SimpleTests for menu.inc.

Code

function testTitleCallbackFalse() {
  $this
    ->drupalGet('node');
  $this
    ->assertText('A title with @placeholder', t('Raw text found on the page'));
  $this
    ->assertNoText(t('A title with @placeholder', array(
    '@placeholder' => 'some other text',
  )), t('Text with placeholder substitutions not found.'));
}