modules
modules copied to clipboard
Create test cases to help unit testing CSRF module
In order to do form posting you must pass the csrf value back to the server. This request is to create a helper test case to perform this. Simply extending the existing testcases and adding a CSRForm post method should suffice.
See #83
Writing some testcases for my app right now and I'm up against this wall. Any easy workarounds for this? I've tried using PostFormCustom and adding a referer header manually, but I'm getting unsupported protocol scheme "" on my .Send() call. Probably something obvious that I'm missing, but it's late.
There is a community here which should be able to help you