PHP Classes

File: tests/codeception/config/config.php

Recommend this page to a friend!
  Classes of Uldis Nelsons   YII2 Framework PHP Init   tests/codeception/config/config.php   Download  
File: tests/codeception/config/config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: YII2 Framework PHP Init
Create a project based on the YII2 from template
Author: By
Last change:
Date: 2 years ago
Size: 685 bytes
 

Contents

Class file image Download
<?php
/**
 * Application configuration shared by all test types
 */
return [
   
'language' => 'en-US',
   
'controllerMap' => [
       
'fixture' => [
           
'class' => 'yii\faker\FixtureController',
           
'fixtureDataPath' => '@tests/codeception/fixtures',
           
'templatePath' => '@tests/codeception/templates',
           
'namespace' => 'tests\codeception\fixtures',
        ],
    ],
   
'components' => [
       
'db' => [
           
'dsn' => 'mysql:host=localhost;dbname=yii2_basic_tests',
        ],
       
'mailer' => [
           
'useFileTransport' => true,
        ],
       
'urlManager' => [
           
'showScriptName' => true,
        ],
    ],
];