1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-23 08:15:39 +01: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
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637
2 changed files with 3 additions and 1 deletions

2
e107

@ -1 +1 @@
Subproject commit 89e28e38c5f2a3f9762fa826299f8e6945adee03
Subproject commit dec471da617000d7cfeac5d8cd5b5a2ad6a69646

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' />",