1 form.test FormsFileInclusionTestCase::testLoadCustomInclude()

Tests loading a custom specified include.

File

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

Class

FormsFileInclusionTestCase
Tests form API file inclusion.

Code

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