Expected behavior
The view should redirect like it does for a GET request.
Steps to reproduce
- Change this line from
.get to .post.
- Save and run tests.
- Observe that the test fails, the view returns a 403, and a warning shows that the CSRF cookie isn't set.