Fixed field type
This commit is contained in:
parent
7b56920492
commit
7d032df6d2
@ -292,7 +292,7 @@ class PMA_FormDisplay_Tpl_Test extends PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<span class="field-comment-mark field-comment-warning" '
|
||||
'<span class="field-comment-mark field-comment-warning" '
|
||||
. 'title="testComment">',
|
||||
array('content' => 'i')
|
||||
),
|
||||
@ -415,7 +415,7 @@ class PMA_FormDisplay_Tpl_Test extends PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertTag(
|
||||
PMA_getTagArray(
|
||||
'<input type="text" size="15" name="test/path" ' .
|
||||
'<input type="number" size="15" name="test/path" ' .
|
||||
'id="test/path" value="val" />'
|
||||
),
|
||||
$result
|
||||
@ -745,8 +745,8 @@ class PMA_FormDisplay_Tpl_Test extends PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertEquals(
|
||||
array(
|
||||
'validateField(\'testID\', \'PMA_\\\';\', true, '
|
||||
. '[\'\\\\r\\\\n\\\\\\\''
|
||||
'validateField(\'testID\', \'PMA_\\\';\', true, '
|
||||
. '[\'\\\\r\\\\n\\\\\\\''
|
||||
. '<scrIpt></\\\' + \\\'script>\'])',
|
||||
'validateField(\'testID\', \'PMA_\', true)'
|
||||
),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user