FormsFileInclusionTestCase::testLoadCustomInclude

7 form.test FormsFileInclusionTestCase::testLoadCustomInclude()
8 form.test FormsFileInclusionTestCase::testLoadCustomInclude()

Tests loading a custom specified inlcude.

File

modules/simpletest/tests/form.test, line 1545
Unit tests for the Drupal Form API.

Code

function testLoadCustomInclude() {
  $this->drupalPost('form-test/load-include-custom', array(), t('Save'));
  $this->assertText('Submit callback called.');
}
Login or register to post comments