Index: pm_block_user/pm_block_user.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/privatemsg/pm_block_user/pm_block_user.test,v
retrieving revision 1.1.4.2
diff -u -p -r1.1.4.2 pm_block_user.test
--- pm_block_user/pm_block_user.test	17 Feb 2010 12:14:54 -0000	1.1.4.2
+++ pm_block_user/pm_block_user.test	19 Feb 2010 22:12:14 -0000
@@ -29,7 +29,7 @@ class PrivatemsgBlockUserCase extends Dr
     $user3 = $this->drupalCreateUser(array('write privatemsg', 'read privatemsg'));
 
     // Set up a simple conversation.
-    $return = privatemsg_new_thread(array($user2, $user3), $subject = $this->randomString(20), $this->randomString(50), array('author' => $user1));
+    $return = privatemsg_new_thread(array($user2, $user3), $subject = $this->randomName(10), $this->randomString(50), array('author' => $user1));
     privatemsg_reply($return['message']['thread_id'], $this->randomString(50), array('author' => $user2));
     privatemsg_reply($return['message']['thread_id'], $this->randomString(50), array('author' => $user3));
 
Index: tests/privatemsgapi.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/privatemsg/tests/privatemsgapi.test,v
retrieving revision 1.1.2.5
diff -u -p -r1.1.2.5 privatemsgapi.test
--- tests/privatemsgapi.test	29 Nov 2009 22:31:24 -0000	1.1.2.5
+++ tests/privatemsgapi.test	19 Feb 2010 22:12:16 -0000
@@ -73,7 +73,7 @@ class PrivatemsgAPITestCase extends Drup
 
     // Send a message through the api to the same user and check if it marked
     // as new.
-    privatemsg_new_thread(array($author), $subject = $this->randomString(10), $this->randomString(20), array('author' => $author));
+    privatemsg_new_thread(array($author), $subject = $this->randomName(10), $this->randomString(20), array('author' => $author));
     $this->drupalLogin($author);
     $this->drupalGet('messages');
     $this->clickLink($subject);
