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