Specific tests: File upload too large

This tests that we can handle a user trying to upload a file that is larger than the server configured limit. Historically we have just generated a server error in this situation and sent notification emails that clutter things up. Instead we opted to return a 413 error page and allow developers to do whatever they want on that (ideally just display a useful message to the user to try a smaller file).

Overview of test process

  1. Upload a file that is larger than this server's limit.
  2. Ensure you get an HTTP 413 response

Step 1: Upload file