HTBox / allReady

This repo contains the code for allReady, an open-source solution focused on increasing awareness, efficiency and impact of preparedness campaigns as they are delivered by humanitarian and disaster response organizations in local communities.
http://www.htbox.org/projects/allready
MIT License
891 stars 627 forks source link

Implement UnitTest builder pattern for AllReady.Areas.Admin.Controllers.EventController #2263

Closed Paul-Hadfield closed 6 years ago

Paul-Hadfield commented 6 years ago

Whilst working on #2228 adding the image size validator to the constructor caused many of the unit tests to fail building. Implementing the Builder pattern for the constructor of the controller should help stop this being a problem in the future.

Paul-Hadfield commented 6 years ago

I'll work on this one as part of cleaning up after #2228