Created
August 31, 2010 01:57
-
-
Save sprice/558403 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git atrium_test/atrium_web_test_case.php atrium_test/atrium_web_test_case.php | |
index 8c04bc3..09987d7 100644 | |
--- atrium_test/atrium_web_test_case.php | |
+++ atrium_test/atrium_web_test_case.php | |
@@ -108,6 +108,9 @@ class AtriumWebTestCase extends DrupalWebTestCase { | |
variable_set('install_task', 'profile-finished'); | |
variable_set('clean_url', $clean_url_original); | |
variable_set('site_mail', '[email protected]'); | |
+ // Use the test mail class instead of the default mail handler class. | |
+ // variable_set('mail_sending_system', array('default-system' => 'TestingMailSystem')); | |
+ variable_set('smtp_library', drupal_get_path('module', 'simpletest') . '/simpletest.mail.inc'); | |
// Use temporary files directory with the same prefix as database. | |
$this->originalFileDirectory = file_directory_path(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment