1 form.test FormsFormWrapperTestCase::testWrapperCallback()

Tests using the form in a usual way.

File

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

Class

FormsFormWrapperTestCase
Test wrapper form callbacks.

Code

function testWrapperCallback() {
  $this->backdropGet('form_test/wrapper-callback');
  $this->assertText('Form wrapper callback element output.', 'The form contains form wrapper elements.');
  $this->assertText('Form builder element output.', 'The form contains form builder elements.');
}