function FormsFileInclusionTestCase::testLoadCustomInclude
7.x form.test | FormsFileInclusionTestCase::testLoadCustomInclude() |
Tests loading a custom specified inlcude.
File
- drupal-7.x/
modules/ simpletest/ tests/ form.test, line 1751 - Unit tests for the Drupal Form API.
Class
- FormsFileInclusionTestCase
- Tests form API file inclusion.
Code
function testLoadCustomInclude() {
$this->drupalPost('form-test/load-include-custom', array(), t('Save'));
$this->assertText('Submit callback called.');
}