diff options
Diffstat (limited to 'modules/simpletest/tests/menu.test')
-rw-r--r-- | modules/simpletest/tests/menu.test | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -52,6 +52,15 @@ class MenuRouterTestCase extends DrupalWebTestCase { } /** + * 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. */ function testExoticPath() { |