Index: tests/mollom.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mollom/tests/mollom.test,v
retrieving revision 1.80
diff -u -p -r1.80 mollom.test
--- tests/mollom.test	11 Jan 2011 15:21:24 -0000	1.80
+++ tests/mollom.test	11 Jan 2011 15:49:00 -0000
@@ -848,6 +848,19 @@ class MollomInstallationTestCase extends
     // Verify presence of testing mode warning.
     $this->drupalGet('admin/config/content/mollom');
     $this->assertText('Mollom testing mode is still enabled.');
+
+    // Verify that deleting keys throws the correct error message again.
+    $this->drupalGet('admin/config/content/mollom/settings');
+    $this->assertText('The services are operating correctly.');
+    $edit = array(
+      'mollom_public_key' => '',
+      'mollom_private_key' => '',
+    );
+    $this->drupalPost(NULL, $edit, t('Save configuration'), array('watchdog' => WATCHDOG_EMERGENCY));
+    $this->assertText(t('The configuration options have been saved.'));
+    $this->assertNoText('The services are operating correctly.');
+    $this->assertText('The Mollom API keys are not configured yet.');
+    $this->assertNoText('The configured Mollom API keys are invalid.');
   }
 }
 
