InvalidConfig exception in test after upgrade from Laravel 11 to 12 #1914
Unanswered
giovanniledda
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've recently upgraded to Laravel 12 then to spatie/laravel-backup:"^9.0" to meet the framework requirements.
Before this change, all my tests were green; now 90% of them are broken, and this is the message I get:
In .env.testing, if I change:
MAIL_FROM_ADDRESS=null
in
MAIL_FROM_ADDRESS=[email protected]
..then tests become green.
My point is: is it normal to have that email check inside tests after an upgrade?
Anyone with the same problem?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions