You are here

function MenuRouterTestCase::testFileInheritance in Drupal 7

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

File

modules/simpletest/tests/menu.test, line 186
Provides SimpleTests for menu.inc.

Class

MenuRouterTestCase

Code

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