function FormsFileInclusionTestCase::testLoadCustomInclude
Tests loading a custom specified inlcude.
File
-
modules/
simpletest/ tests/ form.test, line 2091
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.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.