Disable CSRF in unit tests
This commit is contained in:
parent
c87e6545a9
commit
6099312c0d
|
|
@ -109,4 +109,16 @@ return [
|
||||||
|
|
||||||
'themesPathLocal' => base_path('tests/fixtures/themes'),
|
'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
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue