Prepended constants with C_ to avoid reserved words as per https://www.php.net/manual...
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / URIFilterHarness.php
blob4c8ad42e5bc8ccbc0f924f4aebf8436596c91a0e
1 <?php
3 class HTMLPurifier_URIFilterHarness extends HTMLPurifier_URIHarness
6 protected function assertFiltering($uri, $expect_uri = true)
8 $this->prepareURI($uri, $expect_uri);
9 $this->filter->prepare($this->config, $this->context);
10 $result = $this->filter->filter($uri, $this->config, $this->context);
11 $this->assertEitherFailOrIdentical($result, $uri, $expect_uri);
16 // vim: et sw=4 sts=4