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

Don't set unique flag for things that don't have it.

parent 01d1f2eb
No related branches found
No related tags found
No related merge requests found
...@@ -88,17 +88,14 @@ class FeedsMapperTaxonomyTestCase extends FeedsMapperTestCase { ...@@ -88,17 +88,14 @@ class FeedsMapperTaxonomyTestCase extends FeedsMapperTestCase {
0 => array( 0 => array(
'source' => 'title', 'source' => 'title',
'target' => 'title', 'target' => 'title',
'unique' => FALSE,
), ),
1 => array( 1 => array(
'source' => 'description', 'source' => 'description',
'target' => 'body', 'target' => 'body',
'unique' => FALSE,
), ),
2 => array( 2 => array(
'source' => 'timestamp', 'source' => 'timestamp',
'target' => 'created', 'target' => 'created',
'unique' => FALSE,
), ),
3 => array( 3 => array(
'source' => 'url', 'source' => 'url',
......
...@@ -44,12 +44,10 @@ class FeedsRSStoNodesTest extends FeedsWebTestCase { ...@@ -44,12 +44,10 @@ class FeedsRSStoNodesTest extends FeedsWebTestCase {
2 => array( 2 => array(
'source' => 'description', 'source' => 'description',
'target' => 'body', 'target' => 'body',
'unique' => FALSE,
), ),
3 => array( 3 => array(
'source' => 'timestamp', 'source' => 'timestamp',
'target' => 'created', 'target' => 'created',
'unique' => FALSE,
), ),
4 => array( 4 => array(
'source' => 'url', 'source' => 'url',
......
...@@ -44,12 +44,10 @@ class FeedsCSVtoUsersTest extends FeedsWebTestCase { ...@@ -44,12 +44,10 @@ class FeedsCSVtoUsersTest extends FeedsWebTestCase {
2 => array( 2 => array(
'source' => 'since', 'source' => 'since',
'target' => 'created', 'target' => 'created',
'unique' => FALSE,
), ),
3 => array( 3 => array(
'source' => 'password', 'source' => 'password',
'target' => 'pass', 'target' => 'pass',
'unique' => 0,
), ),
); );
$this->addMappings('user_import', $mappings); $this->addMappings('user_import', $mappings);
......
...@@ -34,12 +34,10 @@ class FeedsSchedulerTestCase extends FeedsWebTestCase { ...@@ -34,12 +34,10 @@ class FeedsSchedulerTestCase extends FeedsWebTestCase {
1 => array( 1 => array(
'source' => 'description', 'source' => 'description',
'target' => 'body', 'target' => 'body',
'unique' => FALSE,
), ),
2 => array( 2 => array(
'source' => 'timestamp', 'source' => 'timestamp',
'target' => 'created', 'target' => 'created',
'unique' => FALSE,
), ),
3 => array( 3 => array(
'source' => 'url', 'source' => 'url',
......
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