public function FeedsTamperEfqFinderTestCase::testTaxonomyTermWithoutBundle in Feeds Tamper 7
Maps term names to term ids with a bundle.
File
- tests/
feeds_tamper_efq_finder.test, line 84 - Contains FeedsTamperEfqFinderTestCase.
Class
- FeedsTamperEfqFinderTestCase
- Tests for the efq_finder plugin.
Code
public function testTaxonomyTermWithoutBundle() {
// Create some taxonomy terms.
taxonomy_term_save((object) array(
'name' => 'ref 1',
'vid' => 1,
));
taxonomy_term_save((object) array(
'name' => 'ref 2',
'vid' => 1,
));
taxonomy_term_save((object) array(
'name' => 'ref 3',
'vid' => 1,
));
$edit = array(
'entity_type' => 'taxonomy_term',
'field' => 'name',
);
$this
->doTaxonomyTermTest($edit);
}