1 form.test FormsElementsTableSelectFunctionalTest::testMultipleFalseSubmit()

Test submission of values when #multiple is FALSE.

File

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

Class

FormsElementsTableSelectFunctionalTest
Test the tableselect form element for expected behavior.

Code

function testMultipleFalseSubmit() {
  $edit['tableselect'] = 'row1';
  $this->backdropPost('form_test/tableselect/multiple-false', $edit, 'Submit');
  $this->assertText(t('Submitted: row1'), 'Selected radio button');
}