1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-13 09:34:01 +02:00

- Removed tally(), swallowErrors(), assertNoErrors()

- Removed unnecessary ampersands

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1657 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-04-14 03:06:36 +00:00
parent d1ace6af17
commit 3b5effcb72
8 changed files with 9 additions and 31 deletions

View File

@@ -25,14 +25,14 @@ class HTMLPurifier_ErrorCollectorEMock extends HTMLPurifier_ErrorCollectorMock
public function send($v1, $v2) {
// test for context
$context =& SimpleTest::getContext();
$test =& $context->getTest();
$context = SimpleTest::getContext();
$test = $context->getTest();
// compat
if (empty($this->_mock)) {
$mock =& $this;
$mock = $this;
} else {
$mock =& $this->_mock;
$mock = $this->_mock;
}
foreach ($this->_expected_context as $key => $value) {