Commit d1d087b
committed
minor #64472 [Mailer][Mailchimp] Fix tests on low-deps (nicolas-grekas)
This PR was merged into the 6.4 branch.
Discussion
----------
[Mailer][Mailchimp] Fix tests on low-deps
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
The Mailchimp bridge fails on the `low-deps` job:
```
MandrillApiTransportTest::testInlineImageUsesContentIdAsName
Error: Call to undefined method Symfony\Component\Mime\Email::addPart()
```
`Email::addPart()` was added in `symfony/mime` 6.2, but the bridge allows `symfony/mailer: ^5.4.21`, so `low-deps` installs `symfony/mime` 5.4. The inline-image tests added in 18d3054 rely on `addPart()`.
This declares a conflict with `symfony/mime < 6.2`, consistently with the Sendgrid, Mailjet, Brevo and Sendinblue bridges which already do the same for the same reason.
Commits
-------
4e21c1e [Mailer] [Mailchimp] Fix tests on low-deps1 file changed
+3Lines changed: 3 additions & 0 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/Symfony/Component/Mailer/Bridge/Mailchimp
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/Symfony/Component/Mailer/Bridge/Mailchimp/composer.json
Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Bridge/Mailchimp/composer.json+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
| 25 | + |
| 26 | + |
| 27 | + |
25 | 28 | |
26 | 29 | |
27 | 30 | |
|
0 commit comments