Index: webform.install
===================================================================
RCS file: /cvs/drupal/contributions/modules/webform/webform.install,v
retrieving revision 1.60
diff -u -p -r1.60 webform.install
--- webform.install	17 Oct 2010 21:12:21 -0000	1.60
+++ webform.install	28 Oct 2010 01:41:39 -0000
@@ -27,11 +27,10 @@ function webform_schema() {
         'not null' => TRUE,
       ),
       'confirmation_format' => array(
-        'description' => 'The input format used by the confirmation message.',
-        'type' => 'int',
-        'size' => 'tiny',
-        'not null' => TRUE,
-        'default' => 0,
+        'description' => 'The {filter_format}.format of the confirmation message.',
+        'type' => 'varchar',
+        'length' => 255,
+        'not null' => FALSE,
       ),
       'redirect_url' => array(
         'description' => 'The URL a user is redirected to after submitting a form.',
@@ -456,3 +455,15 @@ function webform_update_7305() {
     db_change_field('webform', 'additional_submit', 'additional_submit', array('type' => 'text', 'not null' => FALSE));
   }
 }
+
+/**
+ * Change {webform}.confirmation_format into varchar.
+ */
+function webform_update_7306() {
+  db_change_field('webform', 'confirmation_format', 'confirmation_format', array(
+    'type' => 'varchar',
+    'length' => 255,
+    'not null' => FALSE,
+    'description' => 'The {filter_format}.format of the confirmation message.',
+  ));
+}
Index: tests/webform.test
===================================================================
RCS file: /cvs/drupal/contributions/modules/webform/tests/webform.test,v
retrieving revision 1.10
diff -u -p -r1.10 webform.test
--- tests/webform.test	18 Oct 2010 06:31:26 -0000	1.10
+++ tests/webform.test	28 Oct 2010 01:41:39 -0000
@@ -58,6 +58,12 @@ class WebformTestCase extends DrupalWebT
       $this->webform_users[$user_key]->profile_gender = 'Female';
       profile_save_profile($profile, $this->webform_users[$user_key], 'Profile');
     }
+
+    // The tests in this class assume the webform type has the 'body' field, so
+    // ensure that's the case.
+    node_types_rebuild();
+    $types = node_type_get_types();
+    node_add_body_field($types['webform']);
   }
 
   /**
