X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate_drupal%2Ftests%2Ffixtures%2Fdrupal6.php;fp=web%2Fcore%2Fmodules%2Fmigrate_drupal%2Ftests%2Ffixtures%2Fdrupal6.php;h=0003684ebbb44cec3cc46b3a171d4e2351dc83f4;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hp=c94870e2f4ac67afac1759d1d6dc69a94177fb0f;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a;p=yaffs-website diff --git a/web/core/modules/migrate_drupal/tests/fixtures/drupal6.php b/web/core/modules/migrate_drupal/tests/fixtures/drupal6.php index c94870e2f..0003684eb 100644 --- a/web/core/modules/migrate_drupal/tests/fixtures/drupal6.php +++ b/web/core/modules/migrate_drupal/tests/fixtures/drupal6.php @@ -45966,28 +45966,28 @@ $connection->insert('term_data') ->values(array( 'tid' => '1', 'vid' => '1', - 'name' => 'term 1 of vocabulary 1', - 'description' => 'description of term 1 of vocabulary 1', + 'name' => 'zu - term 1 of vocabulary 1', + 'description' => 'zu - description of term 1 of vocabulary 1', 'weight' => '0', - 'language' => '', + 'language' => 'zu', 'trid' => '0', )) ->values(array( 'tid' => '2', 'vid' => '2', - 'name' => 'term 2 of vocabulary 2', - 'description' => 'description of term 2 of vocabulary 2', + 'name' => 'fr - term 2 of vocabulary 2', + 'description' => 'fr - description of term 2 of vocabulary 2', 'weight' => '3', - 'language' => '', + 'language' => 'fr', 'trid' => '0', )) ->values(array( 'tid' => '3', 'vid' => '2', - 'name' => 'term 3 of vocabulary 2', - 'description' => 'description of term 3 of vocabulary 2', + 'name' => 'fr - term 3 of vocabulary 2', + 'description' => 'fr - description of term 3 of vocabulary 2', 'weight' => '4', - 'language' => '', + 'language' => 'fr', 'trid' => '0', )) ->values(array( @@ -46017,6 +46017,15 @@ $connection->insert('term_data') 'language' => '', 'trid' => '0', )) +->values(array( + 'tid' => '7', + 'vid' => '1', + 'name' => 'fr - term 2 of vocabulary 1', + 'description' => 'fr - desc of term 2 vocab 1', + 'weight' => '0', + 'language' => 'fr', + 'trid' => '0', +)) ->execute(); $connection->schema()->createTable('term_hierarchy', array( @@ -46060,6 +46069,10 @@ $connection->insert('term_hierarchy') 'tid' => '4', 'parent' => '0', )) +->values(array( + 'tid' => '7', + 'parent' => '0', +)) ->values(array( 'tid' => '3', 'parent' => '2', @@ -46120,6 +46133,11 @@ $connection->insert('term_node') 'vid' => '1', 'tid' => '1', )) +->values(array( + 'nid' => '1', + 'vid' => '1', + 'tid' => '2', +)) ->values(array( 'nid' => '2', 'vid' => '3', @@ -47632,6 +47650,10 @@ $connection->insert('variable') 'name' => 'i18nstrings_allowed_formats', 'value' => 'a:2:{i:0;i:1;i:1;i:2;}', )) +->values(array( + 'name' => 'i18ntaxonomy_vocabulary', + 'value' => 'a:2:{i:1;s:1:"3";i:2;s:1:"2";}', +)) ->values(array( 'name' => 'i18n_lock_node_article', 'value' => 'i:1;', @@ -48160,7 +48182,7 @@ $connection->insert('vocabulary') 'tags' => '1', 'module' => 'taxonomy', 'weight' => '5', - 'language' => '', + 'language' => 'fr', )) ->values(array( 'vid' => '3',