summaryrefslogtreecommitdiff
path: root/pear/tests
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2004-05-21 03:33:51 +0000
committerGreg Beaver <cellog@php.net>2004-05-21 03:33:51 +0000
commit981948641ca716aaa43657068d64b6e374c6063f (patch)
tree07ab9b1aec7583b9f2fcd5f7ad217d683e62e8ef /pear/tests
parentaaa7263bdd716a1205d0957b6330b96013a9aba6 (diff)
downloadphp-git-981948641ca716aaa43657068d64b6e374c6063f.tar.gz
fix for BC break
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.
Diffstat (limited to 'pear/tests')
-rw-r--r--pear/tests/PEAR_ErrorStack/Error_Stack_TestCase_staticGetErrors.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pear/tests/PEAR_ErrorStack/Error_Stack_TestCase_staticGetErrors.php b/pear/tests/PEAR_ErrorStack/Error_Stack_TestCase_staticGetErrors.php
index 7c84fe5fda..a7a3e0b84b 100644
--- a/pear/tests/PEAR_ErrorStack/Error_Stack_TestCase_staticGetErrors.php
+++ b/pear/tests/PEAR_ErrorStack/Error_Stack_TestCase_staticGetErrors.php
@@ -142,7 +142,7 @@ class Error_Stack_TestCase_staticGetErrors extends PHPUnit_TestCase
$this->stack->push(2, 'warning');
for($i=0;$i<10000;$i++);
PEAR_ErrorStack::staticPush('fronk', 3, 'foo');
- $ret = PEAR_ErrorStack::staticGetErrors(true, true);
+ $ret = PEAR_ErrorStack::staticGetErrors(true, false, true);
for ($i= 0; $i < 3; $i++) {
unset($ret[$i]['time']);
unset($ret[$i]['context']);
@@ -193,7 +193,7 @@ class Error_Stack_TestCase_staticGetErrors extends PHPUnit_TestCase
for($i=0;$i<10000;$i++);
PEAR_ErrorStack::staticPush('fronk', 3, 'foo');
$this->wasCalled = false;
- $ret = PEAR_ErrorStack::staticGetErrors(true, true, array(&$this, '_sortErrorsRev'));
+ $ret = PEAR_ErrorStack::staticGetErrors(true, false, true, array(&$this, '_sortErrorsRev'));
$this->assertTrue($this->wasCalled, '_sortErrorsRev not called!');
for ($i= 0; $i < 3; $i++) {
unset($ret[$i]['time']);