function QueueMailTestCase::testNonQueuedEmail in Queue Mail 7
Test that if we're not queuing any emails that they get sent as normal.
File
- ./
queue_mail.test, line 33 - Simpletests for the Queue Mail module.
Class
- QueueMailTestCase
- Tests queue mail functionality.
Code
function testNonQueuedEmail() {
// Send an email and ensure it was sent immediately.
variable_set('queue_mail_keys', '');
$this
->sendEmailAndTest('basic', FALSE);
}