mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Refactor all JWT-related components Replace RS256 with ES256 as a preferred JWT algorithm
		
			
				
	
	
		
			30 lines
		
	
	
		
			781 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			781 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
return [
 | 
						|
    'id' => 'common-tests',
 | 
						|
    'basePath' => dirname(__DIR__),
 | 
						|
    'params' => [
 | 
						|
        'fromEmail' => 'ely@ely.by',
 | 
						|
    ],
 | 
						|
    'components' => [
 | 
						|
        'cache' => [
 | 
						|
            'class' => \yii\caching\FileCache::class,
 | 
						|
        ],
 | 
						|
        'security' => [
 | 
						|
            // It's allows us to increase tests speed by decreasing password hashing algorithm complexity
 | 
						|
            'passwordHashCost' => 4,
 | 
						|
        ],
 | 
						|
        'queue' => [
 | 
						|
            'class' => common\tests\_support\queue\Queue::class,
 | 
						|
        ],
 | 
						|
        'sentry' => [
 | 
						|
            'enabled' => false,
 | 
						|
        ],
 | 
						|
        'mailer' => [
 | 
						|
            'useFileTransport' => true,
 | 
						|
        ],
 | 
						|
        'emailsRenderer' => [
 | 
						|
            'class' => common\tests\_support\EmailsRenderer::class,
 | 
						|
        ],
 | 
						|
    ],
 | 
						|
];
 |