From 4e6cf51c8bbdedcc45b6c1a78a231d8466605580 Mon Sep 17 00:00:00 2001 From: Chris Leppanen <chris.leppanen@gmail.com> Date: Thu, 6 Sep 2012 14:24:52 -0700 Subject: [PATCH] Don't set unique flag for things that don't have it. --- tests/feeds_mapper_taxonomy.test | 3 --- tests/feeds_processor_node.test | 2 -- tests/feeds_processor_user.test | 2 -- tests/feeds_scheduler.test | 2 -- 4 files changed, 9 deletions(-) diff --git a/tests/feeds_mapper_taxonomy.test b/tests/feeds_mapper_taxonomy.test index 549bf2c6..74533a2e 100644 --- a/tests/feeds_mapper_taxonomy.test +++ b/tests/feeds_mapper_taxonomy.test @@ -88,17 +88,14 @@ class FeedsMapperTaxonomyTestCase extends FeedsMapperTestCase { 0 => array( 'source' => 'title', 'target' => 'title', - 'unique' => FALSE, ), 1 => array( 'source' => 'description', 'target' => 'body', - 'unique' => FALSE, ), 2 => array( 'source' => 'timestamp', 'target' => 'created', - 'unique' => FALSE, ), 3 => array( 'source' => 'url', diff --git a/tests/feeds_processor_node.test b/tests/feeds_processor_node.test index 213b9b90..ee2cc59a 100644 --- a/tests/feeds_processor_node.test +++ b/tests/feeds_processor_node.test @@ -44,12 +44,10 @@ class FeedsRSStoNodesTest extends FeedsWebTestCase { 2 => array( 'source' => 'description', 'target' => 'body', - 'unique' => FALSE, ), 3 => array( 'source' => 'timestamp', 'target' => 'created', - 'unique' => FALSE, ), 4 => array( 'source' => 'url', diff --git a/tests/feeds_processor_user.test b/tests/feeds_processor_user.test index 0d8dfea6..8b3bd6d6 100644 --- a/tests/feeds_processor_user.test +++ b/tests/feeds_processor_user.test @@ -44,12 +44,10 @@ class FeedsCSVtoUsersTest extends FeedsWebTestCase { 2 => array( 'source' => 'since', 'target' => 'created', - 'unique' => FALSE, ), 3 => array( 'source' => 'password', 'target' => 'pass', - 'unique' => 0, ), ); $this->addMappings('user_import', $mappings); diff --git a/tests/feeds_scheduler.test b/tests/feeds_scheduler.test index 283da153..861e8c99 100644 --- a/tests/feeds_scheduler.test +++ b/tests/feeds_scheduler.test @@ -34,12 +34,10 @@ class FeedsSchedulerTestCase extends FeedsWebTestCase { 1 => array( 'source' => 'description', 'target' => 'body', - 'unique' => FALSE, ), 2 => array( 'source' => 'timestamp', 'target' => 'created', - 'unique' => FALSE, ), 3 => array( 'source' => 'url', -- GitLab