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

8.0.x
Nathaniel 2012-04-09 12:48:03 +09:00
parent 7388171b2b
commit ea26475dac
1 changed files with 1 additions and 1 deletions

View File

@ -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,