Allow full name to be passed to mailer
[MAILPOET-2307]
This commit is contained in:
committed by
Jack Kitterhing
parent
0b96d13d1a
commit
ef29a301fc
@@ -155,6 +155,12 @@ class MailerTest extends \MailPoetTest {
|
||||
'email' => 'test@email.com',
|
||||
])
|
||||
)->equals('First Last <test@email.com>');
|
||||
expect($mailer->formatSubscriberNameAndEmailAddress(
|
||||
[
|
||||
'full_name' => 'First Last',
|
||||
'email' => 'test@email.com',
|
||||
])
|
||||
)->equals('First Last <test@email.com>');
|
||||
}
|
||||
|
||||
function testItCanConvertNonASCIIEmailAddressString() {
|
||||
|
Reference in New Issue
Block a user