public function FeedsTamperCopyTestCase::test in Feeds Tamper 7
Same name and namespace in other branches
- 6 tests/feeds_tamper_plugins.test \FeedsTamperCopyTestCase::test()
File
- tests/
feeds_tamper_plugins.test, line 233 - Unit tests for feeds tamper plugins.
Class
- FeedsTamperCopyTestCase
- Tests for copy.inc
Code
public function test() {
$settings = array(
'to_from' => 'to',
'source' => 'body',
);
$item = array(
'title' => 'This is a title',
'body' => 'This is a body',
);
$this
->executeCop($item, 'title', $settings);
$settings = array(
'to_from' => 'from',
'source' => 'body',
);
$this
->executeCop($item, 'title', $settings);
}