Commit 4fe984ac authored by sun's avatar sun

Fixed run-tests.sh throws fatal error when PHPMailer module is not installed.

parent dd5f2c15
......@@ -14,6 +14,11 @@ class PHPMailerUnitTestCase extends DrupalUnitTestCase {
);
}
function setUp() {
parent::setUp();
drupal_load('module', 'phpmailer');
}
/**
* Test e-mail address extraction using phpmailer_parse_address().
*/
......
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