Skip to content

Add tests for NewsMailView

Tim Metzner requested to merge NewsMailViewTests into main

There was one thing I couldn't quite figure out how to test / whether I should test it, which is e-mails with an empty subject or empty body.

These are not handled by rejecting the post request, but rather by having an error window pop up instantly upon pressing the submit button.

Testing that behavior seems more like a UI test, which I don't really know how I would approach. Open to ideas

Edited by Tim Metzner

Merge request reports