1
0
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:
Cameron
2018-07-15 12:28:58 -07:00
parent 43cde547ad
commit d7ca79a0ef

View File

@ -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);