You are here

function SelectOrOtherTextTestCase::testNoOtherSelected in Select (or other) 7.3

Same name and namespace in other branches
  1. 7.2 tests/select_or_other_text.test \SelectOrOtherTextTestCase::testNoOtherSelected()

Tests Select or Other without other selected.

File

tests/select_or_other_text.test, line 31

Class

SelectOrOtherTextTestCase
Tests the select or other text field based functionality

Code

function testNoOtherSelected() {
  foreach ($this->fields as $field_name => $field) {
    $this
      ->setFieldValue($field_name, 'keyed');
    $this
      ->assertRaw('keyed');
    $this
      ->assertNoRaw('select_or_other');
  }
}