function FormsFormWrapperTestCase::testWrapperCallback in SimpleTest 7
Tests using the form in a usual way.
File
- tests/
form.test, line 458 - Unit tests for the Drupal Form API.
Class
- FormsFormWrapperTestCase
- Test wrapper form callbacks.
Code
function testWrapperCallback() {
$this
->drupalGet('form_test/wrapper-callback');
$this
->assertText('Form wrapper callback element output.', t('The form contains form wrapper elements.'));
$this
->assertText('Form builder element output.', t('The form contains form builder elements.'));
}