8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44643d8 commit 78e582eCopy full SHA for 78e582e
src/Symfony/Bridge/Twig/Tests/Mime/TemplatedEmailTest.php
@@ -58,6 +58,7 @@ public function testSymfonySerialize()
58
$e->to('you@example.com');
59
$e->textTemplate('email.txt.twig');
60
$e->htmlTemplate('email.html.twig');
61
+ $e->locale('en');
62
$e->context(['foo' => 'bar']);
63
$e->addPart(new DataPart('Some Text file', 'test.txt'));
64
$expected = clone $e;
@@ -66,6 +67,7 @@ public function testSymfonySerialize()
66
67
{
68
"htmlTemplate": "email.html.twig",
69
"textTemplate": "email.txt.twig",
70
+ "locale": "en",
71
"context": {
72
"foo": "bar"
73
},
0 commit comments