From 5953219a09e92ad18caaa2fc000020c2eaac1cfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kurucz=20Istv=C3=A1n?= <kurucz.istvan@gmail.com>
Date: Tue, 26 Oct 2021 00:00:30 +0200
Subject: [PATCH] database fixture with theme settings

---
 tests/fixtures/drupal5.php | 61 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 58 insertions(+), 3 deletions(-)

diff --git a/tests/fixtures/drupal5.php b/tests/fixtures/drupal5.php
index 1b8df24..3fcb011 100644
--- a/tests/fixtures/drupal5.php
+++ b/tests/fixtures/drupal5.php
@@ -6131,6 +6131,39 @@ $connection->insert('system')
   'schema_version' => '0',
   'weight' => '0',
 ))
+->values(array(
+  'filename' => 'themes/bluemarine/page.tpl.php',
+  'name' => 'bluemarine',
+  'type' => 'theme',
+  'description' => 'themes/engines/phptemplate/phptemplate.engine',
+  'status' => '0',
+  'throttle' => '0',
+  'bootstrap' => '0',
+  'schema_version' => '-1',
+  'weight' => '0',
+))
+->values(array(
+  'filename' => 'themes/chameleon/chameleon.theme',
+  'name' => 'chameleon',
+  'type' => 'theme',
+  'description' => 'themes/chameleon/chameleon.theme',
+  'status' => '0',
+  'throttle' => '0',
+  'bootstrap' => '0',
+  'schema_version' => '-1',
+  'weight' => '0',
+))
+->values(array(
+  'filename' => 'themes/chameleon/marvin/style.css',
+  'name' => 'marvin',
+  'type' => 'theme',
+  'description' => 'themes/chameleon/chameleon.theme',
+  'status' => '0',
+  'throttle' => '0',
+  'bootstrap' => '0',
+  'schema_version' => '-1',
+  'weight' => '0',
+))
 ->values(array(
   'filename' => 'themes/engines/phptemplate/phptemplate.engine',
   'name' => 'phptemplate',
@@ -6139,7 +6172,18 @@ $connection->insert('system')
   'status' => '1',
   'throttle' => '0',
   'bootstrap' => '0',
-  'schema_version' => '0',
+  'schema_version' => '-1',
+  'weight' => '0',
+))
+->values(array(
+  'filename' => 'themes/garland/minnelli/style.css',
+  'name' => 'minnelli',
+  'type' => 'theme',
+  'description' => 'themes/garland/page.tpl.php',
+  'status' => '0',
+  'throttle' => '0',
+  'bootstrap' => '0',
+  'schema_version' => '-1',
   'weight' => '0',
 ))
 ->values(array(
@@ -6150,7 +6194,18 @@ $connection->insert('system')
   'status' => '1',
   'throttle' => '0',
   'bootstrap' => '0',
-  'schema_version' => '0',
+  'schema_version' => '-1',
+  'weight' => '0',
+))
+->values(array(
+  'filename' => 'themes/pushbutton/page.tpl.php',
+  'name' => 'pushbutton',
+  'type' => 'theme',
+  'description' => 'themes/engines/phptemplate/phptemplate.engine',
+  'status' => '0',
+  'throttle' => '0',
+  'bootstrap' => '0',
+  'schema_version' => '-1',
   'weight' => '0',
 ))
 ->execute();
@@ -7131,7 +7186,7 @@ $connection->insert('variable')
 ))
 ->values(array(
   'name' => 'theme_settings',
-  'value' => 'a:1:{s:21:"toggle_node_info_page";b:0;}',
+  'value' => 'a:22:{s:11:"toggle_logo";i:1;s:11:"toggle_name";i:1;s:13:"toggle_slogan";i:0;s:14:"toggle_mission";i:1;s:24:"toggle_node_user_picture";i:0;s:27:"toggle_comment_user_picture";i:0;s:13:"toggle_search";i:0;s:14:"toggle_favicon";i:1;s:21:"toggle_node_info_blog";i:1;s:21:"toggle_node_info_book";i:1;s:22:"toggle_node_info_forum";i:1;s:21:"toggle_node_info_page";i:0;s:21:"toggle_node_info_poll";i:1;s:22:"toggle_node_info_story";i:1;s:12:"default_logo";i:1;s:9:"logo_path";s:0:"";s:11:"logo_upload";s:0:"";s:15:"default_favicon";i:1;s:12:"favicon_path";s:0:"";s:14:"favicon_upload";s:0:"";s:2:"op";s:18:"Save configuration";s:10:"form_token";s:32:"a5830cffdee1734989416711bbd46f27";}',
 ))
 ->execute();
 $connection->schema()->createTable('vocabulary', array(
-- 
GitLab