mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-06 14:16:32 +02:00
feat: PHP 8.4 support (#441)
This commit is contained in:
@@ -115,7 +115,7 @@ class HTMLPurifier_Strategy_FixNestingTest extends HTMLPurifier_StrategyHarness
|
||||
// test fallback to div
|
||||
$this->config->set('HTML.Parent', 'obviously-impossible');
|
||||
$this->config->set('Cache.DefinitionImpl', null);
|
||||
$this->expectError('Cannot use unrecognized element as parent');
|
||||
$this->expectException(new Exception('Cannot use unrecognized element as parent'));
|
||||
$this->assertResult('<div>Accept</div>');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user