You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 8 години
123456789101112131415161718
  1. <?php
  2. /**
  3. * Application configuration shared by all applications functional tests
  4. */
  5. return [
  6. 'components' => [
  7. 'request' => [
  8. // it's not recommended to run functional tests with CSRF validation enabled
  9. 'enableCsrfValidation' => false,
  10. // but if you absolutely need it set cookie domain to localhost
  11. /*
  12. 'csrfCookie' => [
  13. 'domain' => 'localhost',
  14. ],
  15. */
  16. ],
  17. ],
  18. ];