Skip to content
Snippets Groups Projects
Commit 76115061 authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Fix path alias test for taxonomy terms.

parent 39794f6b
No related branches found
No related tags found
No related merge requests found
...@@ -87,9 +87,6 @@ class FeedsMapperPathTestCase extends FeedsMapperTestCase { ...@@ -87,9 +87,6 @@ class FeedsMapperPathTestCase extends FeedsMapperTestCase {
$this->setPlugin('path_test', 'FeedsCSVParser'); $this->setPlugin('path_test', 'FeedsCSVParser');
$this->setPlugin('path_test', 'FeedsTermProcessor'); $this->setPlugin('path_test', 'FeedsTermProcessor');
// Turn on update existing.
$this->setSettings('path_test', 'FeedsTermProcessor', array('update_existing' => 2));
// Create vocabulary. // Create vocabulary.
$edit = array( $edit = array(
'name' => 'Addams vocabulary', 'name' => 'Addams vocabulary',
...@@ -98,6 +95,9 @@ class FeedsMapperPathTestCase extends FeedsMapperTestCase { ...@@ -98,6 +95,9 @@ class FeedsMapperPathTestCase extends FeedsMapperTestCase {
$this->drupalPost('admin/structure/taxonomy/add', $edit, t('Save')); $this->drupalPost('admin/structure/taxonomy/add', $edit, t('Save'));
$this->setSettings('path_test', 'FeedsTermProcessor', array('vocabulary' => 'addams')); $this->setSettings('path_test', 'FeedsTermProcessor', array('vocabulary' => 'addams'));
// Turn on update existing.
$this->setSettings('path_test', 'FeedsTermProcessor', array('update_existing' => 2));
// Add mappings. // Add mappings.
$this->addMappings('path_test', array( $this->addMappings('path_test', array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment