From ea26475dace65c34580cd2caaeec771d7cb95b99 Mon Sep 17 00:00:00 2001 From: Nathaniel Date: Mon, 9 Apr 2012 12:48:03 +0900 Subject: [PATCH] Issue #1174640 by Niklas Fiekas: test coverage follow-up for new HTML5 FAPI element: number. --- core/modules/simpletest/tests/form.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/simpletest/tests/form.test b/core/modules/simpletest/tests/form.test index 3603cf64d5a..49cab7bdb41 100644 --- a/core/modules/simpletest/tests/form.test +++ b/core/modules/simpletest/tests/form.test @@ -562,7 +562,7 @@ class FormElementTestCase extends DrupalWebTestCase { $this->drupalGet('form-test/placeholder-text'); $expected = 'placeholder-text'; // Test to make sure non-textarea elements have the proper placeholder text. - foreach (array('textfield', 'tel', 'url', 'password', 'email') as $type) { + foreach (array('textfield', 'tel', 'url', 'password', 'email', 'number') as $type) { $element = $this->xpath('//input[@id=:id and @placeholder=:expected]', array( ':id' => 'edit-' . $type, ':expected' => $expected,