1 form.test FormsFileInclusionTestCase::testLoadMenuInclude()

Tests loading an include specified in hook_menu().

File

core/modules/simpletest/tests/form.test, line 2021
Unit tests for the Backdrop Form API.

Class

FormsFileInclusionTestCase
Tests form API file inclusion.

Code

function testLoadMenuInclude() {
  $this->backdropPostAJAX('form-test/load-include-menu', array(), array('op' => t('Save')), 'system/ajax', array(), array(), 'form-test-load-include-menu');
  $this->assertText('Submit callback called.');
}