Commit b305732e authored by Dries's avatar Dries

- Patch #285184 by Arancaytar: fixing e-mail address in tests.

parent b6e8e391
...@@ -57,7 +57,7 @@ class ContactSitewideTestCase extends DrupalWebTestCase { ...@@ -57,7 +57,7 @@ class ContactSitewideTestCase extends DrupalWebTestCase {
$this->assertText(t('Recipients field is required.'), t('Caught empty recipients field.')); $this->assertText(t('Recipients field is required.'), t('Caught empty recipients field.'));
// Create valid categories. // Create valid categories.
$recipients = array('simpletest@test.com', 'simpletest2@test.com', 'simpletest3@test.com'); $recipients = array('simpletest@example.com', 'simpletest2@example.com', 'simpletest3@example.com');
$this->addCategory($category = $this->randomName(16), implode(',', array($recipients[0])), '', TRUE); $this->addCategory($category = $this->randomName(16), implode(',', array($recipients[0])), '', TRUE);
$this->assertRaw(t('Category %category has been added.', array('%category' => $category)), t('Category successfully added.')); $this->assertRaw(t('Category %category has been added.', array('%category' => $category)), t('Category successfully added.'));
...@@ -281,4 +281,4 @@ class ContactPersonalTestCase extends DrupalWebTestCase { ...@@ -281,4 +281,4 @@ class ContactPersonalTestCase extends DrupalWebTestCase {
$this->drupalGet('user/' . $web_user4->uid . '/contact'); $this->drupalGet('user/' . $web_user4->uid . '/contact');
$this->assertResponse(403, t('Access to personal contact form denied.')); $this->assertResponse(403, t('Access to personal contact form denied.'));
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment