summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/upgrade/drupal-6.menu.database.php
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-08-16 01:22:08 -0500
committerwebchick <webchick@24967.no-reply.drupal.org>2011-08-16 01:22:08 -0500
commit17898e7b0ba169b76f13a51ba39555a0c22205ad (patch)
treecc9a5919c7cc741a38b64911eda3aec5f5f94463 /modules/simpletest/tests/upgrade/drupal-6.menu.database.php
parent17e3bac069fbd66358f1f04dbb83fa842e56c3e7 (diff)
downloadbrdo-17898e7b0ba169b76f13a51ba39555a0c22205ad.tar.gz
brdo-17898e7b0ba169b76f13a51ba39555a0c22205ad.tar.bz2
Issue #1231856 by lyricnz: Fixed menu_update_7001() breaks when updating from 7.4 or upgrading from D6.
Diffstat (limited to 'modules/simpletest/tests/upgrade/drupal-6.menu.database.php')
-rw-r--r--modules/simpletest/tests/upgrade/drupal-6.menu.database.php46
1 files changed, 46 insertions, 0 deletions
diff --git a/modules/simpletest/tests/upgrade/drupal-6.menu.database.php b/modules/simpletest/tests/upgrade/drupal-6.menu.database.php
index f5c588af7..8962615fb 100644
--- a/modules/simpletest/tests/upgrade/drupal-6.menu.database.php
+++ b/modules/simpletest/tests/upgrade/drupal-6.menu.database.php
@@ -127,3 +127,49 @@ db_insert('menu_links')->fields(array(
'updated' => '0',
))
->execute();
+db_insert('blocks')->fields(array(
+ 'bid',
+ 'module',
+ 'delta',
+ 'theme',
+ 'status',
+ 'weight',
+ 'region',
+ 'custom',
+ 'throttle',
+ 'visibility',
+ 'pages',
+ 'title',
+ 'cache',
+))
+->values(array(
+ 'bid' => '4',
+ 'module' => 'menu',
+ 'delta' => 'primary-links',
+ 'theme' => 'garland',
+ 'status' => '1',
+ 'weight' => '0',
+ 'region' => 'left',
+ 'custom' => '0',
+ 'throttle' => '0',
+ 'visibility' => '0',
+ 'pages' => '',
+ 'title' => 'My Primary Links',
+ 'cache' => '-1',
+))
+->values(array(
+ 'bid' => '5',
+ 'module' => 'menu',
+ 'delta' => 'secondary-links',
+ 'theme' => 'garland',
+ 'status' => '1',
+ 'weight' => '0',
+ 'region' => 'left',
+ 'custom' => '0',
+ 'throttle' => '0',
+ 'visibility' => '0',
+ 'pages' => '',
+ 'title' => 'My Secondary Links',
+ 'cache' => '-1',
+))
+->execute();