Disable CSRF in unit tests

This commit is contained in:
Ben Thomson 2019-10-07 14:13:02 +08:00
parent c87e6545a9
commit 6099312c0d
No known key found for this signature in database
GPG Key ID: BD1BF04E944DBD80
1 changed files with 12 additions and 0 deletions

View File

@ -109,4 +109,16 @@ return [
'themesPathLocal' => base_path('tests/fixtures/themes'),
/*
|--------------------------------------------------------------------------
| Cross Site Request Forgery (CSRF) Protection
|--------------------------------------------------------------------------
|
| If the CSRF protection is enabled, all "postback" requests are checked
| for a valid security token.
|
*/
'enableCsrfProtection' => false
];