mirror of
https://github.com/elyby/accounts.git
synced 2024-10-30 15:33:21 +05:30
cba769a1ec
Контроллер для работы с RabbitMQ научился создавать типизированные аргументы для $body Добавлена таблица с историей ников Добавлена таблица Mojang ников Добавлена проверка активированности аккаунта в AccountsController
35 lines
968 B
PHP
35 lines
968 B
PHP
<?php
|
|
/**
|
|
* Application configuration shared by all applications and test types
|
|
*/
|
|
return [
|
|
'language' => 'en-US',
|
|
'controllerMap' => [
|
|
'fixture' => [
|
|
'class' => 'yii\faker\FixtureController',
|
|
'fixtureDataPath' => '@tests/codeception/common/fixtures/data',
|
|
'templatePath' => '@tests/codeception/common/templates/fixtures',
|
|
'namespace' => 'tests\codeception\common\fixtures',
|
|
],
|
|
],
|
|
'components' => [
|
|
'db' => [
|
|
'dsn' => 'mysql:host=localhost;dbname=ely_accounts_test',
|
|
],
|
|
'mailer' => [
|
|
'useFileTransport' => true,
|
|
],
|
|
'urlManager' => [
|
|
'showScriptName' => true,
|
|
],
|
|
'redis' => [
|
|
'database' => 1,
|
|
],
|
|
'amqp' => [
|
|
'user' => 'ely-accounts-tester',
|
|
'password' => 'tester-password',
|
|
'vhost' => '/account.ely.by/tests',
|
|
],
|
|
],
|
|
];
|