Daniël Klabbers
bfd3a667dd
Fixed issue with tmp/storage/views not existing, this caused tmpname to notice.
...
Fixed csrf test that assumed an access token allows application access, which is actually api token.
Improved return type hinting in the StartSession middleware
2019-06-18 17:22:23 +02:00
Franz Liedke
c126b95451
Refactor tests to shorten HTTP requests
...
Multiple tests now provide JSON request bodies, and others copy cookies
from previous responses, so let's provide convenient helpers for these.
2019-06-13 00:13:59 +02:00
Franz Liedke
7f7484e790
Accept CSRF token in request body as well
2019-06-13 00:13:58 +02:00
Franz Liedke
e927254e99
Add tests for CSRF token check
2019-06-13 00:13:57 +02:00