Commit ea26475d authored by Nathaniel Catchpole's avatar Nathaniel Catchpole
Browse files

Issue #1174640 by Niklas Fiekas: test coverage follow-up for new HTML5 FAPI element: number.

parent 7388171b
......@@ -562,7 +562,7 @@ class FormElementTestCase extends DrupalWebTestCase {
$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,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment