function FormsFileInclusionTestCase::testLoadCustomInclude

Tests loading a custom specified inlcude.

Archivo

drupal-7.x/modules/simpletest/tests/form.test, line 1730
Unit tests for the Drupal Form API.

Class

FormsFileInclusionTestCase
Tests form API file inclusion.

Código

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