aboutsummaryrefslogtreecommitdiffstats
path: root/tests/error_collector_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/error_collector_test.php')
-rw-r--r--tests/error_collector_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/error_collector_test.php b/tests/error_collector_test.php
index 273284c8fc..8ed89bbe52 100644
--- a/tests/error_collector_test.php
+++ b/tests/error_collector_test.php
@@ -52,8 +52,8 @@ class phpbb_error_collector_test extends phpbb_test_case
1/0; $line = __LINE__;
// Cause a notice
- $array = array('ITEM' => 'value');
- $value = $array[ITEM]; $line2 = __LINE__;
+ $array = array(0 => 'value');
+ $value = $array[1]; $line2 = __LINE__;
$collector->uninstall();