projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
contact
/
tests
/
src
/
Unit
/
MailHandlerTest.php
diff --git
a/web/core/modules/contact/tests/src/Unit/MailHandlerTest.php
b/web/core/modules/contact/tests/src/Unit/MailHandlerTest.php
index 898ea226c8da5ec48fbb693546b33dea91724bf2..04a12b86df58117ace64cbffb9e8fbe689ffb545 100644
(file)
--- a/
web/core/modules/contact/tests/src/Unit/MailHandlerTest.php
+++ b/
web/core/modules/contact/tests/src/Unit/MailHandlerTest.php
@@
-136,7
+136,7
@@
class MailHandlerTest extends UnitTestCase {
$this->mailManager->expects($this->any())
->method('mail')
->willReturnCallback(
$this->mailManager->expects($this->any())
->method('mail')
->willReturnCallback(
- function($module, $key, $to, $langcode, $params, $from) use (&$results) {
+ function
($module, $key, $to, $langcode, $params, $from) use (&$results) {
$result = array_shift($results);
$this->assertEquals($module, $result['module']);
$this->assertEquals($key, $result['key']);
$result = array_shift($results);
$this->assertEquals($module, $result['module']);
$this->assertEquals($key, $result['key']);
@@
-234,7
+234,7
@@
class MailHandlerTest extends UnitTestCase {
$results[] = $result + $default_result;
$data[] = [$message, $sender, $results];
$results[] = $result + $default_result;
$data[] = [$message, $sender, $results];
- //For authenticated user.
+ //
For authenticated user.
$results = [];
$message = $this->getAuthenticatedMockMessage();
$sender = $this->getMockSender(FALSE, 'user@drupal.org');
$results = [];
$message = $this->getAuthenticatedMockMessage();
$sender = $this->getMockSender(FALSE, 'user@drupal.org');