diff options
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 2198dde22..35042ad2c 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -1486,7 +1486,7 @@ class DrupalWebTestCase { // Input element with correct value. $found = TRUE; } - else if (isset($field->option)) { + elseif (isset($field->option)) { // Select element found. if ($this->getSelectedItem($field) == $value) { $found = TRUE; @@ -1499,7 +1499,7 @@ class DrupalWebTestCase { } } } - else if (isset($field[0]) && $field[0] == $value) { + elseif (isset($field[0]) && $field[0] == $value) { // Text area with correct text. $found = TRUE; } @@ -1522,7 +1522,7 @@ class DrupalWebTestCase { if (isset($item['selected'])) { return $item['value']; } - else if ($item->getName() == 'optgroup') { + elseif ($item->getName() == 'optgroup') { if ($value = $this->getSelectedItem($item)) { return $value; } |