-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Mailer] since 5.2.0, testing that an email has been sent with mailer, fails #39511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If I downgrade framework-bundle to 5.1, it works ^^ |
I have the same issue. Already have installed symfony/mailer |
Can you create a small example application that allows to reproduce your issue? |
A very simplified version of functional test:
|
Please create a small application that we can clone to investigate what's happening. |
Here you are: https://github.com/jarekkowol/debug_sf52 |
Enabling the profiler in the test environment will solve your issue: # config/packages/test/framework.yaml
framework:
profiler: ~ I am not sure though if that is desired. |
That's right, it solved the problem |
@xabbuh Should we close this issue ? |
I believe it would still be worth to investigate why it worked before and if couldn't come back to that state easily. Would you be up to give that a try? |
Before submitting this issue, I did try to understand what was going on but failed :'( |
Hello, |
…wizardz) This PR was submitted for the 5.4 branch but it was merged into the 5.3 branch instead. Discussion ---------- [FrameworkBundle] Match 5.3 and 5.1 mailer configuration | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #39511 | License | MIT | Doc PR | Looks like the listener has been in the main config file in 5.1 branch but has not been moved to 5.2 branch during the refactoring. Commits ------- 6214f3a Match 5.1 mailer configuration
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected: 5.2.0
Description
In a functionnal test, I get an error when I try to test that an email has been sent with mailer
How to reproduce
Possible Solution
no idea
Additional context
the error I get is :
The text was updated successfully, but these errors were encountered: