Hi,
I got the following error when drupal_mail_send is called from my test:
Fatal error: Class 'DrupalWebTestCase' not found in /usr/src/simpletest/simpletest.test on line 12
See the attached traceback for details.
I think this is related to simpletest.test being defined as the smtp library by drupal_web_test_case.php:1173:
variable_set('smtp_library', drupal_get_path('module', 'simpletest') . '/simpletest.test');
Causing later it's inclusion from mail.inc:176 and in this context drupal_web_test_case.php is not included and thus 'DrupalWebTestCase' is not defined.
Let me know if you need more informations.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | OSPokerSpecifications-10.html_.gz | 1.46 KB | proppy |
Comments
Comment #1
proppy commentedHere is the comment before drupal_mail_wrapper definition in simpletest.test:
Comment #2
proppy commentedA tentative workaround:
Comment #3
proppy commentedDuplicate of http://drupal.org/node/596440