Tests loading a custom specified include.
File
- drupal/core/modules/system/lib/Drupal/system/Tests/Form/FileInclusionTest.php, line 43
- Definition of Drupal\system\Tests\Form\FileInclusionTest.
Class
- FileInclusionTest
- Tests form API file inclusion.
Namespace
Drupal\system\Tests\Form
Code
function testLoadCustomInclude() {
$this
->drupalPost('form-test/load-include-custom', array(), t('Save'));
$this
->assertText('Submit callback called.');
}