diff options
Diffstat (limited to 'protected/tests/bootstrap.php')
| -rw-r--r-- | protected/tests/bootstrap.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/protected/tests/bootstrap.php b/protected/tests/bootstrap.php new file mode 100644 index 0000000..780a103 --- /dev/null +++ b/protected/tests/bootstrap.php @@ -0,0 +1,10 @@ +<?php + +// change the following paths if necessary +$yiit=dirname(__FILE__).'/../../../yii-framework/framework/yiit.php'; +$config=dirname(__FILE__).'/../config/test.php'; + +require_once($yiit); +require_once(dirname(__FILE__).'/WebTestCase.php'); + +Yii::createWebApplication($config); |
