8000 Fix templatedEmailTest · symfony/symfony@78e582e · GitHub
[go: up one dir, main page]

Skip to content

Commit 78e582e

Browse files
Fix templatedEmailTest
1 parent 44643d8 commit 78e582e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Bridge/Twig/Tests/Mime/TemplatedEmailTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public function testSymfonySerialize()
5858
$e->to('you@example.com');
5959
$e->textTemplate('email.txt.twig');
6060
$e->htmlTemplate('email.html.twig');
61+
$e->locale('en');
6162
$e->context(['foo' => 'bar']);
6263
$e->addPart(new DataPart('Some Text file', 'test.txt'));
6364
$expected = clone $e;
@@ -66,6 +67,7 @@ public function testSymfonySerialize()
6667
{
6768
"htmlTemplate": "email.html.twig",
6869
"textTemplate": "email.txt.twig",
70+
"locale": "en",
6971
"context": {
7072
"foo": "bar"
7173
},

0 commit comments

Comments
 (0)
0