Fix newline issues in tests.
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / URIFilter / DisableExternalResourcesTest.php
blob05b31b7e510cb1ef2a0b28553c8533d5fb86b0a5
1 <?php
3 class HTMLPurifier_URIFilter_DisableExternalResourcesTest extends
4 HTMLPurifier_URIFilter_DisableExternalTest
7 function setUp() {
8 parent::setUp();
9 $this->filter = new HTMLPurifier_URIFilter_DisableExternalResources();
10 $var = true;
11 $this->context->register('EmbeddedURI', $var);
14 function testPreserveWhenNotEmbedded() {
15 $this->context->destroy('EmbeddedURI'); // undo setUp
16 $this->assertFiltering(
17 'http://example.com'