Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/tests/test_helper_unit.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/tests/test_helper_unit.php')
-rw-r--r--site/app/tests/test_helper_unit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/tests/test_helper_unit.php b/site/app/tests/test_helper_unit.php
index 49903a5..f88f691 100644
--- a/site/app/tests/test_helper_unit.php
+++ b/site/app/tests/test_helper_unit.php
@@ -193,7 +193,7 @@ class UnitTestHelper
* Since there is nothing we can do to prevent those, we are going to filter them
* out and add the $realErrors back into the queue later on.
*/
- $queue = &SimpleErrorQueue::instance();
+ $queue = &SimpleTest::getContext()->get('SimpleErrorQueue');
$realErrors = array();
while ($error = $queue->extract())