mirror of
https://github.com/e107inc/e107.git
synced 2025-07-13 11:06:20 +02:00
Updated form test to match optDisabled addition.
This commit is contained in:
@ -351,7 +351,7 @@
|
|||||||
*/
|
*/
|
||||||
public function testSelect()
|
public function testSelect()
|
||||||
{
|
{
|
||||||
$options = array('disabled'=>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");
|
||||||
$actual = $this->_frm->select('name', $opt_array, $selected, $options);
|
$actual = $this->_frm->select('name', $opt_array, $selected, $options);
|
||||||
|
Reference in New Issue
Block a user