summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rothstein2012-11-05 04:36:20 (GMT)
committer David Rothstein2012-11-05 04:36:20 (GMT)
commit47d3d613892dd5eb5175941543cb666362915667 (patch)
tree261596ec317f2b1231c712e1db7208896f70025f
parent8a4df80203b3536efbf2097a8ddf31dd62c77451 (diff)
Issue #1828876 by geekyMoa: Fixed Simpletest HTML5 field support.
-rw-r--r--modules/simpletest/drupal_web_test_case.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index a67c771..e3cab62 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -2349,9 +2349,16 @@ class DrupalWebTestCase extends DrupalTestCase {
if (isset($edit[$name])) {
switch ($type) {
case 'text':
+ case 'tel':
case 'textarea':
+ case 'url':
+ case 'number':
+ case 'range':
+ case 'color':
case 'hidden':
case 'password':
+ case 'email':
+ case 'search':
$post[$name] = $edit[$name];
unset($edit[$name]);
break;