'basic-tests', 'basePath' => dirname(__DIR__), 'language' => 'en-US', 'components' => [ 'db' => $dbParams, 'mailer' => [ 'useFileTransport' => true, ], 'urlManager' => [ 'showScriptName' => true, ], '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', ], */ ], ], 'params' => $params, ];