Fix two minor bugs, updating Phorum and removing unused $dir variable.
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / TokenFactoryTest.php
blob3eb731f8340a2a4260e77113ba6802efa3362207
1 <?php
3 class HTMLPurifier_TokenFactoryTest extends HTMLPurifier_Harness
5 public function test() {
7 $factory = new HTMLPurifier_TokenFactory();
9 $regular = new HTMLPurifier_Token_Start('a', array('href' => 'about:blank'));
10 $generated = $factory->createStart('a', array('href' => 'about:blank'));
12 $this->assertIdentical($regular, $generated);
17 // vim: et sw=4 sts=4