function RouterTest::testFileInheritance

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

File

drupal/core/modules/system/lib/Drupal/system/Tests/Menu/RouterTest.php, line 116
Definition of Drupal\system\Tests\Menu\RouterTest.

Class

RouterTest
Tests menu router and hook_menu() functionality.

Namespace

Drupal\system\Tests\Menu

Code

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