Index: modules/contact/contact.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/contact/contact.test,v
retrieving revision 1.42
diff -u -r1.42 contact.test
--- modules/contact/contact.test	17 Feb 2010 04:39:49 -0000	1.42
+++ modules/contact/contact.test	17 Feb 2010 07:07:22 -0000
@@ -96,8 +96,8 @@
 
     // Try adding a category that already exists.
     $this->addCategory($category, '', '', FALSE);
-    $this->assertNoRaw(t('Category %category has been saved.', array('%category' => $category)), t('Category not saved.'));
-    $this->assertRaw(t('A contact form with category %category already exists.', array('%category' => $category)), t('Duplicate category error found.'));
+    $this->assertNoText(t('Category %category has been saved.', array('%category' => $category)), t('Category not saved.'));
+    $this->assertText(t('A contact form with category %category already exists.', array('%category' => $category)), t('Duplicate category error found.'));
 
     // Clear flood table in preparation for flood test and allow other checks to complete.
     db_delete('flood')->execute();
