From 9350e82d71f19ce29a63f3eec7c5e9c5365086a7 Mon Sep 17 00:00:00 2001 From: rxu Date: Tue, 19 Sep 2023 10:23:08 +0700 Subject: [PATCH] [ticket/17151] Fix test error PHPBB3-17151 --- tests/functions_acp/build_cfg_template_test.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tests/functions_acp/build_cfg_template_test.php b/tests/functions_acp/build_cfg_template_test.php index 76558152ff..8153fdfabf 100644 --- a/tests/functions_acp/build_cfg_template_test.php +++ b/tests/functions_acp/build_cfg_template_test.php @@ -506,13 +506,14 @@ class phpbb_functions_acp_build_cfg_template_test extends phpbb_test_case public function select_helper() { - return build_select( - array( - '1' => 'First_Option', - '2' => 'Second_Option', - '3' => 'Third_Option', - ), - '2' - ); + return [ + 'options' => build_select( + [ + '1' => 'First_Option', + '2' => 'Second_Option', + '3' => 'Third_Option', + ], + '2'), + ]; } }