chinese-journal/yii/protected/tests/bootstrap.php

11 lines
282 B
PHP
Raw Normal View History

2014-11-21 08:26:20 +00:00
<?php
// change the following paths if necessary
$yiit=dirname(__FILE__).'/../../../../../yii1.1.15/framework/yiit.php';
$config=dirname(__FILE__).'/../config/test.php';
require_once($yiit);
require_once(dirname(__FILE__).'/WebTestCase.php');
Yii::createWebApplication($config);