modules icon indicating copy to clipboard operation
modules copied to clipboard

Create test cases to help unit testing CSRF module

Open notzippy opened this issue 7 years ago • 2 comments

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

notzippy avatar Nov 04 '18 20:11 notzippy

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.

Jaywalker avatar Mar 23 '23 04:03 Jaywalker

There is a community here which should be able to help you

notzippy avatar Mar 23 '23 16:03 notzippy