diff --git a/tests/feeds_mapper_taxonomy.test b/tests/feeds_mapper_taxonomy.test index 7628597d9c4230991913c68b3e95f0b7e5d92413..94dd188f58cccd21565893f969c9bbf423724215 100644 --- a/tests/feeds_mapper_taxonomy.test +++ b/tests/feeds_mapper_taxonomy.test @@ -122,14 +122,13 @@ class FeedsMapperTaxonomyTestCase extends FeedsMapperTestCase { $this->assertText('Do not import on submission'); // Map feed node's taxonomy to feed item node's taxonomy. - $this->addMappings('syndication', - array( - array( - 'source' => 'parent:taxonomy:tags', - 'target' => 'field_tags', - ), - ) + $mappings = array( + 5 => array( + 'source' => 'parent:taxonomy:tags', + 'target' => 'field_tags', + ), ); + $this->addMappings('syndication', $mappings); // Create feed node and add term term1. $langcode = LANGUAGE_NONE;