unit.php 318 Bytes
Newer Older
1 2
<?php

3 4
// configuration adjustments for codeception unit tests. Will be merged with web.php config.

5 6 7 8
return [
	'components' => [
		'fixture'	=>	[
			'class'		=>	'yii\test\DbFixtureManager',
9
			'basePath'	=>	'@tests/unit/fixtures',
10 11 12 13 14 15
		],
		'db' => [
			'dsn' => 'mysql:host=localhost;dbname=yii2basic_unit',
		],
	],
];