diff --git a/apps/basic/config/codeception/functional.php b/apps/basic/config/codeception/functional.php index 760dcef..210b97d 100644 --- a/apps/basic/config/codeception/functional.php +++ b/apps/basic/config/codeception/functional.php @@ -7,5 +7,11 @@ return [ 'db' => [ 'dsn' => 'mysql:host=localhost;dbname=yii2basic_functional', ], + 'request' => [ + 'enableCsrfValidation' => false, + ], + 'urlManager' => [ + 'baseUrl' => '/web/index.php', + ], ], ]; diff --git a/apps/basic/tests/functional/_bootstrap.php b/apps/basic/tests/functional/_bootstrap.php index 6a117fd..6692104 100644 --- a/apps/basic/tests/functional/_bootstrap.php +++ b/apps/basic/tests/functional/_bootstrap.php @@ -1,8 +1,4 @@