X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fredirect%2Ftests%2Ffixtures%2Fdrupal6.php;fp=web%2Fmodules%2Fcontrib%2Fredirect%2Ftests%2Ffixtures%2Fdrupal6.php;h=e6f9c47588326fdec6bdecc1cd63fcc7a42c4dd5;hp=7eb259f64d6f469f28a8378f9b4bb58d7eb6d9b4;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/redirect/tests/fixtures/drupal6.php b/web/modules/contrib/redirect/tests/fixtures/drupal6.php index 7eb259f64..e6f9c4758 100644 --- a/web/modules/contrib/redirect/tests/fixtures/drupal6.php +++ b/web/modules/contrib/redirect/tests/fixtures/drupal6.php @@ -91,3 +91,96 @@ $connection->insert('path_redirect') 'last_used' => 1449497139, )) ->execute(); + +$connection->schema()->createTable('system', array( + 'fields' => array( + 'filename' => array( + 'type' => 'varchar', + 'not null' => TRUE, + 'length' => '255', + 'default' => '', + ), + 'name' => array( + 'type' => 'varchar', + 'not null' => TRUE, + 'length' => '255', + 'default' => '', + ), + 'type' => array( + 'type' => 'varchar', + 'not null' => TRUE, + 'length' => '255', + 'default' => '', + ), + 'owner' => array( + 'type' => 'varchar', + 'not null' => TRUE, + 'length' => '255', + 'default' => '', + ), + 'status' => array( + 'type' => 'int', + 'not null' => TRUE, + 'size' => 'normal', + 'default' => '0', + ), + 'throttle' => array( + 'type' => 'int', + 'not null' => TRUE, + 'size' => 'normal', + 'default' => '0', + ), + 'bootstrap' => array( + 'type' => 'int', + 'not null' => TRUE, + 'size' => 'normal', + 'default' => '0', + ), + 'schema_version' => array( + 'type' => 'int', + 'not null' => TRUE, + 'size' => 'normal', + 'default' => '-1', + ), + 'weight' => array( + 'type' => 'int', + 'not null' => TRUE, + 'size' => 'normal', + 'default' => '0', + ), + 'info' => array( + 'type' => 'text', + 'not null' => FALSE, + 'size' => 'normal', + ), + ), + 'primary key' => array( + 'filename', + ), + 'mysql_character_set' => 'utf8', +)); + +$connection->insert('system') + ->fields(array( + 'filename', + 'name', + 'type', + 'owner', + 'status', + 'bootstrap', + 'schema_version', + 'weight', + 'info', + )) + ->values(array( + 'filename' => 'modules/contrib/path_redirect/path_redirect.module', + 'name' => 'path_redirect', + 'type' => 'module', + 'owner' => '', + 'status' => '1', + 'bootstrap' => '0', + 'schema_version' => '7000', + 'weight' => '0', + 'info' => 'a:10:{s:4:"name";s:13:"Path Redirect";s:11:"description";s:51:"Allows users to redirect from old URLs to new URLs.";s:7:"package";s:5:"Other";s:7:"version";s:3:"6.0";s:4:"core";s:3:"6.x";s:7:"project";s:13:"path_redirect";s:9:"datestamp";s:10:"1347989995";s:12:"dependencies";a:0:{}s:10:"dependents";a:0:{}s:3:"php";s:5:"4.3.5";}', + )) + ->execute();