update v1.0.7.7
This commit is contained in:
12
vendor/htmlpurifier/tests/HTMLPurifier/PHPT/loading/_autoload.inc
vendored
Normal file
12
vendor/htmlpurifier/tests/HTMLPurifier/PHPT/loading/_autoload.inc
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Tests if autoloading for HTML Purifier is enabled. If all tests pass,
|
||||
* output is blank.
|
||||
*/
|
||||
|
||||
assert("!in_array(realpath('../library/HTMLPurifier/Filter/YouTube.php'), get_included_files())");
|
||||
new HTMLPurifier_Filter_YouTube();
|
||||
assert(" in_array(realpath('../library/HTMLPurifier.autoload.php'), get_included_files())");
|
||||
|
||||
// vim: et sw=4 sts=4
|
||||
Reference in New Issue
Block a user