bashgid/web/protected/tests/bootstrap.php

11 lines
282 B
PHP
Raw Permalink Normal View History

2015-06-26 10:03: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);