public function FeedsTamperStripTagsTestCase::test in Feeds Tamper 7
Same name and namespace in other branches
- 6 tests/feeds_tamper_plugins.test \FeedsTamperStripTagsTestCase::test()
File
- tests/
feeds_tamper_plugins.test, line 945 - Unit tests for feeds tamper plugins.
Class
- FeedsTamperStripTagsTestCase
- Tests for strip_tags.inc
Code
public function test() {
$this
->execute('sdfsdfsdfsdf<b>sdfsdf</b>sdfsdf', 'sdfsdfsdfsdfsdfsdfsdfsdf', array(
'allowed_tags' => NULL,
));
$this
->execute('sdfsdfsdfsdf<b>sdfsdfsdfsdf', 'sdfsdfsdfsdfsdfsdfsdfsdf', array(
'allowed_tags' => NULL,
));
$this
->execute('sdfsdfsdfsdf<i>sdfsdf</i><b>sdfs</b>dfsdfsdf', 'sdfsdfsdfsdf<i>sdfsdf</i>sdfsdfsdfsdf', array(
'allowed_tags' => '<i>',
));
}