function MenuRouterTestCase::testFileInheritance

Test that 'page callback', 'file' and 'file path' keys are properly inherited from parent menu paths.

File

modules/simpletest/tests/menu.test, line 186

Class

MenuRouterTestCase

Code

function testFileInheritance() {
    $this->drupalGet('admin/config/development/file-inheritance');
    $this->assertText('File inheritance test description', 'File inheritance works.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.