summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-30 03:44:39 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-30 03:44:39 +0000
commitcb5e5a137c1ffa7a4136814bede8d55859647bae (patch)
treede265c79e2bc3c8419f1b3c67e75cc41e190221c /modules/simpletest/tests
parent90155726d0ed479c015db327a65f087d769f7e27 (diff)
downloadbrdo-cb5e5a137c1ffa7a4136814bede8d55859647bae.tar.gz
brdo-cb5e5a137c1ffa7a4136814bede8d55859647bae.tar.bz2
#989556 by bfroehle: Fixed Broken Upgrade: filter #7001
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/upgrade/drupal-6.filled.database.php12
1 files changed, 12 insertions, 0 deletions
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";',