1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Fixed regressions in unit e_formTest.php

Fixes: #8
This commit is contained in:
Nick Liu
2018-07-23 07:17:06 -05:00
parent 4320399ea7
commit 3c8e52af93
2 changed files with 3 additions and 1 deletions

2
e107

Submodule e107 updated: 89e28e38c5...dec471da61

View File

@@ -353,6 +353,7 @@
*/
public function testSelect()
{
$this->_frm->__construct(true);
$options = array('optDisabled'=>array('opt_2'));
$selected = 'opt_3';
$opt_array = array('opt_1'=>"Option 1", 'opt_2'=>"Option 2", 'opt_3'=>"Option 3");
@@ -673,6 +674,7 @@
public function testRenderElement()
{
$frm = $this->_frm;
$frm->__construct(true);
$expected = array(
'text_001' => "<input type='text' name='text_001' value='some text' maxlength=255 id='text-001' class='tbox form-control input-xlarge' tabindex='1' />",