1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-30 19:00:10 +02:00

[2.1.1] Add prefix directory to include path in standalone: this prevents PEAR from clobbering our unit tests

- Add missing include to unit test harness
- Add missing unit test for HTMLPurifier::getInstance

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1358 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2007-08-03 15:11:08 +00:00
parent 350d8301dd
commit b3aa5fa0dc
4 changed files with 16 additions and 1 deletions

View File

@@ -132,5 +132,11 @@ alert("<This is compatible with XHTML>");
);
}
function testGetInstance() {
$purifier = HTMLPurifier::getInstance();
$purifier2 = HTMLPurifier::getInstance();
$this->assertReference($purifier, $purifier2);
}
}