From 522f9ef81b39c7b2dbc5e8e817b1ab45ef6b0aa1 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 12 Sep 2015 23:18:16 +0200 Subject: update picofeed --- .../picofeed/tests/Filter/TagFilterTest.php | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 vendor/fguillot/picofeed/tests/Filter/TagFilterTest.php (limited to 'vendor/fguillot/picofeed/tests/Filter/TagFilterTest.php') diff --git a/vendor/fguillot/picofeed/tests/Filter/TagFilterTest.php b/vendor/fguillot/picofeed/tests/Filter/TagFilterTest.php deleted file mode 100644 index 86911bbb4..000000000 --- a/vendor/fguillot/picofeed/tests/Filter/TagFilterTest.php +++ /dev/null @@ -1,33 +0,0 @@ -assertTrue($tag->isAllowed('p', array('class' => 'test'))); - $this->assertTrue($tag->isAllowed('img', array('class' => 'test'))); - - $this->assertFalse($tag->isAllowed('script', array('class' => 'test'))); - $this->assertFalse($tag->isAllowed('img', array('width' => '1', 'height' => '1'))); - } - - public function testHtml() - { - $tag = new Tag; - - $this->assertEquals('

', $tag->openHtmlTag('p')); - $this->assertEquals('truc', $tag->openHtmlTag('img', 'src="test" alt="truc"')); - $this->assertEquals('', $tag->openHtmlTag('img')); - $this->assertEquals('
', $tag->openHtmlTag('br')); - - $this->assertEquals('

', $tag->closeHtmlTag('p')); - $this->assertEquals('', $tag->closeHtmlTag('img')); - $this->assertEquals('', $tag->closeHtmlTag('br')); - } -} -- cgit v1.2.3