summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
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";',