mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 03:10:09 +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:
@@ -59,12 +59,6 @@ class HTMLPurifier_Strategy_CompositeTest extends HTMLPurifier_Harness
|
||||
$output = $composite->execute($input_1, $config, $context);
|
||||
$this->assertIdentical($input_4, $output);
|
||||
|
||||
// tally the calls
|
||||
|
||||
$mock_1->tally();
|
||||
$mock_2->tally();
|
||||
$mock_3->tally();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -108,7 +108,6 @@ class HTMLPurifier_Strategy_FixNestingTest extends HTMLPurifier_StrategyHarness
|
||||
$this->config->set('HTML', 'Parent', 'obviously-impossible');
|
||||
// $this->expectError('Cannot use unrecognized element as parent');
|
||||
$this->assertResult('<div>Accept</div>');
|
||||
$this->swallowErrors();
|
||||
}
|
||||
|
||||
function testCascadingRemovalOfNodesMissingRequiredChildren() {
|
||||
|
Reference in New Issue
Block a user