X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontact%2Ftests%2Fsrc%2FUnit%2FMailHandlerTest.php;fp=web%2Fcore%2Fmodules%2Fcontact%2Ftests%2Fsrc%2FUnit%2FMailHandlerTest.php;h=a96b0c69e12448134650bfe2d9f819ed1ac082d0;hp=04a12b86df58117ace64cbffb9e8fbe689ffb545;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/contact/tests/src/Unit/MailHandlerTest.php b/web/core/modules/contact/tests/src/Unit/MailHandlerTest.php index 04a12b86d..a96b0c69e 100644 --- a/web/core/modules/contact/tests/src/Unit/MailHandlerTest.php +++ b/web/core/modules/contact/tests/src/Unit/MailHandlerTest.php @@ -367,7 +367,7 @@ class MailHandlerTest extends UnitTestCase { $recipient->expects($this->once()) ->method('getEmail') ->willReturn('user2@drupal.org'); - $recipient->expects($this->once()) + $recipient->expects($this->any()) ->method('getDisplayName') ->willReturn('user2'); $recipient->expects($this->once())