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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user