function FormsFileInclusionTestCase::testLoadMenuInclude
Tests loading an include specified in hook_menu().
File
-
modules/
simpletest/ tests/ form.test, line 2186
Class
- FormsFileInclusionTestCase
- Tests form API file inclusion.
Code
function testLoadMenuInclude() {
$this->drupalPostAJAX('form-test/load-include-menu', array(), array(
'op' => t('Save'),
), 'system/ajax', array(), array(), 'form-test-load-include-menu');
$this->assertText('Submit callback called.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.