summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/menu.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests/menu.test')
-rw-r--r--modules/simpletest/tests/menu.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/simpletest/tests/menu.test b/modules/simpletest/tests/menu.test
index 802216c26..a4935c968 100644
--- a/modules/simpletest/tests/menu.test
+++ b/modules/simpletest/tests/menu.test
@@ -21,6 +21,15 @@ class MenuIncTestCase extends DrupalWebTestCase {
}
/**
+ * Test title callback set to FALSE.
+ */
+ 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.'));
+ }
+
+ /**
* Tests for menu_name parameter for hook_menu().
*/
function testMenuName() {