aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/request/type_cast_helper_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/request/type_cast_helper_test.php b/tests/request/type_cast_helper_test.php
index 94b6e9146f..176638dc44 100644
--- a/tests/request/type_cast_helper_test.php
+++ b/tests/request/type_cast_helper_test.php
@@ -54,7 +54,7 @@ class phpbb_type_cast_helper_test extends phpbb_test_case
$data = array(' eviL<3 ');
$expected = array(' eviL&lt;3 ');
- $this->type_cast_helper->recursive_set_var($data, '', true, false);
+ $this->type_cast_helper->recursive_set_var($data, array(0 => ''), true, false);
$this->assertEquals($expected, $data);
}