You are here

protected function FeedsTamperEfqFinderTestCase::doTaxonomyTermTest in Feeds Tamper 7

Performs the verification.

3 calls to FeedsTamperEfqFinderTestCase::doTaxonomyTermTest()
FeedsTamperEfqFinderTestCase::testTaxonomyTermByField in tests/feeds_tamper_efq_finder.test
Maps to a term by field.
FeedsTamperEfqFinderTestCase::testTaxonomyTermWithBundle in tests/feeds_tamper_efq_finder.test
Maps term names to term ids with a bundle.
FeedsTamperEfqFinderTestCase::testTaxonomyTermWithoutBundle in tests/feeds_tamper_efq_finder.test
Maps term names to term ids with a bundle.

File

tests/feeds_tamper_efq_finder.test, line 133
Contains FeedsTamperEfqFinderTestCase.

Class

FeedsTamperEfqFinderTestCase
Tests for the efq_finder plugin.

Code

protected function doTaxonomyTermTest(array $edit) {
  $this
    ->addEfqPlugin('syndication', 'ref', $edit);
  $this
    ->importFile('syndication', dirname(__FILE__) . '/feeds_tamper/efq_finder_nodes.csv');
  foreach (array(
    1,
    2,
    3,
  ) as $id) {
    $this
      ->drupalGet('node/' . $id . '/edit');
    $this
      ->assertFieldByName('field_term[und]', $id);
  }
}