From 2598778efa1887a4f2a8eb016114d32e8b6259a8 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 22 Mar 2010 17:52:58 +0000 Subject: #730220 follow-up by pwolanin: Fix fragile Contact module test caused by use of randomString() vs. randomName(). --- modules/contact/contact.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/contact') diff --git a/modules/contact/contact.test b/modules/contact/contact.test index cc89d8632..80a157b87 100644 --- a/modules/contact/contact.test +++ b/modules/contact/contact.test @@ -166,15 +166,15 @@ class ContactSitewideTestCase extends DrupalWebTestCase { $this->drupalLogin($admin_user); // Set up three categories, 2 with an auto-reply and one without. - $foo_autoreply = $this->randomString(40); - $bar_autoreply = $this->randomString(40); + $foo_autoreply = $this->randomName(40); + $bar_autoreply = $this->randomName(40); $this->addCategory('foo', 'foo@example.com', $foo_autoreply, FALSE); $this->addCategory('bar', 'bar@example.com', $bar_autoreply, FALSE); $this->addCategory('no_autoreply', 'bar@example.com', '', FALSE); // Test the auto-reply for category 'foo'. $email = $this->randomName(32) . '@example.com'; - $subject = $this->randomString(64); + $subject = $this->randomName(64); $this->submitContact($this->randomName(16), $email, $subject, 2, $this->randomString(128)); // We are testing the auto-reply, so there should be one e-mail going to the sender. -- cgit v1.2.3