From cb5e5a137c1ffa7a4136814bede8d55859647bae Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 30 Dec 2010 03:44:39 +0000 Subject: #989556 by bfroehle: Fixed Broken Upgrade: filter #7001 --- .../simpletest/tests/upgrade/drupal-6.filled.database.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/simpletest/tests') diff --git a/modules/simpletest/tests/upgrade/drupal-6.filled.database.php b/modules/simpletest/tests/upgrade/drupal-6.filled.database.php index 25092e70f..7afa04442 100644 --- a/modules/simpletest/tests/upgrade/drupal-6.filled.database.php +++ b/modules/simpletest/tests/upgrade/drupal-6.filled.database.php @@ -1034,6 +1034,12 @@ db_insert('filter_formats')->fields(array( 'roles' => '', 'cache' => '1', )) +->values(array( + 'format' => '3', + 'name' => 'Escape HTML Filter', + 'roles' => '', + 'cache' => '1', +)) ->execute(); db_create_table('filters', array( @@ -19749,6 +19755,12 @@ db_insert('variable')->fields(array( 'name' => 'filter_html_1', 'value' => 'i:1;', )) +// Add the Escape HTML filter to the custom input format 'Escape HTML Filter' +// to test that the filter may be upgraded to its Drupal 7 equivalent. +->values(array( + 'name' => 'filter_html_3', + 'value' => 'i:2;', +)) ->values(array( 'name' => 'install_profile', 'value' => 's:7:"default";', -- cgit v1.2.3