function FormsFileInclusionTestCase::testLoadCustomInclude

Tests loading a custom specified inlcude.

File

drupal/modules/simpletest/tests/form.test, line 2066
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.');
}