mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
2
e107
2
e107
Submodule e107 updated: 89e28e38c5...dec471da61
@@ -353,6 +353,7 @@
|
|||||||
*/
|
*/
|
||||||
public function testSelect()
|
public function testSelect()
|
||||||
{
|
{
|
||||||
|
$this->_frm->__construct(true);
|
||||||
$options = array('optDisabled'=>array('opt_2'));
|
$options = array('optDisabled'=>array('opt_2'));
|
||||||
$selected = 'opt_3';
|
$selected = 'opt_3';
|
||||||
$opt_array = array('opt_1'=>"Option 1", 'opt_2'=>"Option 2", 'opt_3'=>"Option 3");
|
$opt_array = array('opt_1'=>"Option 1", 'opt_2'=>"Option 2", 'opt_3'=>"Option 3");
|
||||||
@@ -673,6 +674,7 @@
|
|||||||
public function testRenderElement()
|
public function testRenderElement()
|
||||||
{
|
{
|
||||||
$frm = $this->_frm;
|
$frm = $this->_frm;
|
||||||
|
$frm->__construct(true);
|
||||||
|
|
||||||
$expected = array(
|
$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' />",
|
'text_001' => "<input type='text' name='text_001' value='some text' maxlength=255 id='text-001' class='tbox form-control input-xlarge' tabindex='1' />",
|
||||||
|
Reference in New Issue
Block a user