Issue #1828876 by geekyMoa: Fixed Simpletest HTML5 field support.
authorDavid Rothstein
Mon, 5 Nov 2012 04:36:20 +0000 (23:36 -0500)
committerDavid Rothstein
Mon, 5 Nov 2012 04:36:20 +0000 (23:36 -0500)
modules/simpletest/drupal_web_test_case.php

index a67c771..e3cab62 100644 (file)
@@ -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;