forked from symfony/symfony
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug symfony#50881 [Messenger] Fix passing options set via tags to han…
…dler descriptors (nicolas-grekas) This PR was merged into the 5.4 branch. Discussion ---------- [Messenger] Fix passing options set via tags to handler descriptors | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Spotted while working on symfony#50873 Commits ------- 2a6f72b [Messenger] Fix passing options set via tags to handler descriptors
- Loading branch information
Showing
3 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ | |
use Symfony\Component\Mailer\Header\TagHeader; | ||
use Symfony\Component\Mime\Address; | ||
use Symfony\Component\Mime\Email; | ||
use Symfony\Component\Mime\Part\DataPart; | ||
use Symfony\Contracts\HttpClient\ResponseInterface; | ||
|
||
class SendinblueApiTransportTest extends TestCase | ||
|
@@ -131,7 +130,6 @@ public function testSend() | |
$transport = new SendinblueApiTransport('ACCESS_KEY', $client); | ||
$transport->setPort(8984); | ||
|
||
$dataPart = new DataPart('body'); | ||
$mail = new Email(); | ||
$mail->subject('Hello!') | ||
->to(new Address('[email protected]', 'Saif Eddin')) | ||
|
@@ -141,7 +139,6 @@ public function testSend() | |
->addCc('[email protected]') | ||
->addBcc('[email protected]') | ||
->addReplyTo('[email protected]') | ||
->attachPart($dataPart) | ||
; | ||
|
||
$message = $transport->send($mail); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters