public function FeedsTamperHashTestCase::executeHash in Feeds Tamper 7
Same name and namespace in other branches
- 6 tests/feeds_tamper_plugins.test \FeedsTamperHashTestCase::executeHash()
1 call to FeedsTamperHashTestCase::executeHash()
File
- tests/
feeds_tamper_plugins.test, line 473 - Unit tests for feeds tamper plugins.
Class
- FeedsTamperHashTestCase
- Tests for hash.inc
Code
public function executeHash($input, $output, $settings) {
$result = new stdClass();
$result->items = array();
$result->items[] = $input;
$this
->callback($result, 0, 'hash', $result->items[0]['hash'], $settings);
$this
->assertIdentical($result->items[0]['hash'], $output);
}