Skip to content
Snippets Groups Projects
Commit a436374c authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2080405 by mrsinguyen: Remove Unused local variable from...

Issue #2080405 by mrsinguyen: Remove Unused local variable  from /core/modules/simpletest/lib/Drupal/simpletest/Tests/MailCaptureTest.php.
parent 3303032e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -41,7 +41,7 @@ function testMailSend() {
$this->assertEqual(count($captured_emails), 0, 'The captured e-mails queue is empty.', 'E-mail');
// Send the e-mail.
$response = drupal_mail_system('simpletest', 'drupal_mail_test')->mail($message);
drupal_mail_system('simpletest', 'drupal_mail_test')->mail($message);
// Ensure that there is one e-mail in the captured e-mails array.
$captured_emails = $this->drupalGetMails();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment