Fixed assertions for HTML 5 input types

This commit is contained in:
Michal Čihař 2013-08-21 14:07:38 +02:00
parent 7fa6b7b061
commit 4aa0dcbdf8

View File

@ -1211,7 +1211,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase
$result = PMA_getHTMLinput($column, 'a', 'b', 30, 'c', 23, 2, 0);
$this->assertEquals(
'<input type="text" name="fieldsa" value="b" size="30" class='
'<input type="date" name="fieldsa" value="b" size="30" class='
. '"textfield datefield" c tabindex="25" id="field_0_3" />',
$result
);
@ -1221,7 +1221,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase
$column['True_Type'] = 'datetime';
$result = PMA_getHTMLinput($column, 'a', 'b', 30, 'c', 23, 2, 0);
$this->assertEquals(
'<input type="text" name="fieldsa" value="b" size="30" class='
'<input type="date" name="fieldsa" value="b" size="30" class='
. '"textfield datetimefield" c tabindex="25" id="field_0_3" />',
$result
);
@ -1231,7 +1231,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase
$column['True_Type'] = 'timestamp';
$result = PMA_getHTMLinput($column, 'a', 'b', 30, 'c', 23, 2, 0);
$this->assertEquals(
'<input type="text" name="fieldsa" value="b" size="30" class='
'<input type="date" name="fieldsa" value="b" size="30" class='
. '"textfield datetimefield" c tabindex="25" id="field_0_3" />',
$result
);
@ -2732,4 +2732,4 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase
);
}
}
?>
?>