Open jessykate opened 5 years ago
add fake email sending to browser tests (would have caught above error)
This is kind of tricky. It would mean that we would need to supply the api key for mailgun in clear text basically, which means it could be abused. I think the better answer is to write unit tests for the views..
@jonathan-s sorry these were not verbose enough. We mean just rendering the template for the email, even when emails are disabled. A bug in the email template broke approving bookings.
@bfirsh Right :). Well, that should be solved by the anymail branch ;). It renders the email templates and outputs those into console. So if there was template error that branch should have caught that as far as I understand.
@jessykate Did we get anywhere with these things? Deleting the database dump and setting up 2FA are the important things, I think. :)