mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 11:13:59 +02:00
[ticket/17151] Fix tests
PHPBB3-17151
This commit is contained in:
@@ -125,11 +125,25 @@ class main_module
|
||||
|
||||
function create_select()
|
||||
{
|
||||
return '
|
||||
<option value="1" selected="selected">Option 1</option>
|
||||
<option value="2">Option 2</option>
|
||||
<option value="3">Option 3</option>
|
||||
';
|
||||
return [
|
||||
'options' => [
|
||||
[
|
||||
'value' => 1,
|
||||
'selected' => true,
|
||||
'label' => 'Option 1',
|
||||
],
|
||||
[
|
||||
'value' => 2,
|
||||
'selected' => false,
|
||||
'label' => 'Option 2',
|
||||
],
|
||||
[
|
||||
'value' => 3,
|
||||
'selected' => false,
|
||||
'label' => 'Option 3',
|
||||
],
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
function submit_button()
|
||||
|
Reference in New Issue
Block a user