Skip to content

Commit

Permalink
Fix templatedEmailTest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Sep 20, 2023
1 parent 44643d8 commit 78e582e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Bridge/Twig/Tests/Mime/TemplatedEmailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public function testSymfonySerialize()
$e->to('you@example.com');
$e->textTemplate('email.txt.twig');
$e->htmlTemplate('email.html.twig');
$e->locale('en');
$e->context(['foo' => 'bar']);
$e->addPart(new DataPart('Some Text file', 'test.txt'));
$expected = clone $e;
Expand All @@ -66,6 +67,7 @@ public function testSymfonySerialize()
{
"htmlTemplate": "email.html.twig",
"textTemplate": "email.txt.twig",
"locale": "en",
"context": {
"foo": "bar"
},
Expand Down

0 comments on commit 78e582e

Please sign in to comment.