From b94665f5aec34875c61ac28db847b104026b429e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 26 Apr 2010 14:06:23 +0000 Subject: - Patch #688334 by stella, BTMash, carlos8f, chx: fixed file inheritance is broken. --- modules/simpletest/tests/menu.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/simpletest/tests/menu.test') diff --git a/modules/simpletest/tests/menu.test b/modules/simpletest/tests/menu.test index d9563a86a..0e6da766b 100644 --- a/modules/simpletest/tests/menu.test +++ b/modules/simpletest/tests/menu.test @@ -51,6 +51,15 @@ class MenuRouterTestCase extends DrupalWebTestCase { $this->assertRaw('seven/style.css', t("The administrative theme's CSS appears on the page.")); } + /** + * Test that 'page callback', 'file' and 'file path' keys are properly + * inherited from parent menu paths. + */ + function testFileInheritance() { + $this->drupalGet('admin/config/development/file-inheritance'); + $this->assertText('File inheritance test description', t('File inheritance works.')); + } + /** * Test path containing "exotic" characters. */ -- cgit v1.2.3