From 22cf19e174bcee88b44968f2773d1bad2da2b54d Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 18 Jul 2012 03:59:10 -0700 Subject: bad sync with github windows client --- .../tests/HTMLPurifier/Injector/LinkifyTest.php | 50 ---------------------- 1 file changed, 50 deletions(-) delete mode 100644 lib/htmlpurifier/tests/HTMLPurifier/Injector/LinkifyTest.php (limited to 'lib/htmlpurifier/tests/HTMLPurifier/Injector/LinkifyTest.php') diff --git a/lib/htmlpurifier/tests/HTMLPurifier/Injector/LinkifyTest.php b/lib/htmlpurifier/tests/HTMLPurifier/Injector/LinkifyTest.php deleted file mode 100644 index 1a1542d53..000000000 --- a/lib/htmlpurifier/tests/HTMLPurifier/Injector/LinkifyTest.php +++ /dev/null @@ -1,50 +0,0 @@ -config->set('AutoFormat.Linkify', true); - } - - function testLinkifyURLInRootNode() { - $this->assertResult( - 'http://example.com', - 'http://example.com' - ); - } - - function testLinkifyURLInInlineNode() { - $this->assertResult( - 'http://example.com', - 'http://example.com' - ); - } - - function testBasicUsageCase() { - $this->assertResult( - 'This URL http://example.com is what you need', - 'This URL http://example.com is what you need' - ); - } - - function testIgnoreURLInATag() { - $this->assertResult( - 'http://example.com/' - ); - } - - function testNeeded() { - $this->config->set('HTML.Allowed', 'b'); - $this->expectError('Cannot enable Linkify injector because a is not allowed'); - $this->assertResult('http://example.com/'); - } - - function testExcludes() { - $this->assertResult('http://example.com'); - } - -} - -// vim: et sw=4 sts=4 -- cgit v1.2.3