mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	- Added new assertion. - Adjusted tests not to rely on intl version allowing multiple valid variants for Russian and Ukrainian currencies and transliteration.
		
			
				
	
	
		
			23 lines
		
	
	
		
			607 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			607 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
// ensure we get report on all possible php errors
 | 
						|
error_reporting(-1);
 | 
						|
 | 
						|
define('YII_ENABLE_ERROR_HANDLER', false);
 | 
						|
define('YII_DEBUG', true);
 | 
						|
define('YII_ENV', 'test');
 | 
						|
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
 | 
						|
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
 | 
						|
 | 
						|
// require composer autoloader if available
 | 
						|
$composerAutoload = __DIR__ . '/../vendor/autoload.php';
 | 
						|
if (is_file($composerAutoload)) {
 | 
						|
    require_once($composerAutoload);
 | 
						|
}
 | 
						|
require_once(__DIR__ . '/../framework/Yii.php');
 | 
						|
 | 
						|
Yii::setAlias('@yiiunit', __DIR__);
 | 
						|
 | 
						|
require_once(__DIR__ . '/compatibility.php');
 | 
						|
require_once(__DIR__ . '/TestCase.php');
 |