Skip to content

Commit 5765539

Browse files
minor #33480 [Mailer] Added messenger to dev dependencies (derrabus)
This PR was merged into the 4.4 branch. Discussion ---------- [Mailer] Added messenger to dev dependencies | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A PR #33454 introduced a new test case that mocks the `MessageBusInterface` from the messenger component. This makes the tests suite fail on travis because PHPUnit refuses to create a mock for an interface that does not exist. ``` There was 1 failure: 1) Symfony\Component\Mailer\Tests\MailerTest::testSendingRawMessages Failed asserting that exception of type "PHPUnit\Framework\MockObject\RuntimeException" matches expected exception "Symfony\Component\Mailer\Exception\LogicException". Message was: "Cannot stub or mock class or interface "Symfony\Component\Messenger\MessageBusInterface" which does not exist" at /home/travis/build/symfony/symfony/src/Symfony/Component/Mailer/Tests/MailerTest.php:28 ``` This PR fixes the test by adding the Messenger component to Mailer's dev dependencies. Commits ------- 248f082 [Mailer] Added messenger to dev dependencies.
2 parents f94d600 + 248f082 commit 5765539

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Mailer/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"symfony/http-client-contracts": "^1.1",
3030
"symfony/mailgun-mailer": "^4.4|^5.0",
3131
"symfony/mailchimp-mailer": "^4.4|^5.0",
32+
"symfony/messenger": "^4.4|^5.0",
3233
"symfony/postmark-mailer": "^4.4|^5.0",
3334
"symfony/sendgrid-mailer": "^4.4|^5.0"
3435
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy