You are here

public function QueueMailTestCase::testDoNotQueueMailedStoppedByOtherModules in Queue Mail 7

Test we don't send mail that is prevented from sending by other modules.

File

./queue_mail.test, line 69
Simpletests for the Queue Mail module.

Class

QueueMailTestCase
Tests queue mail functionality.

Code

public function testDoNotQueueMailedStoppedByOtherModules() {

  // Set all emails to be queued and test.
  variable_set('queue_mail_keys', '*');
  $this
    ->sendEmailAndTest('stopped', FALSE, FALSE);
}