summaryrefslogtreecommitdiff
path: root/protected/tests/bootstrap.php
diff options
context:
space:
mode:
authortzur <tzur@ccwn.org>2012-04-15 15:30:09 +0200
committertzur <tzur@ccwn.org>2012-04-15 15:30:09 +0200
commit5b2095abddf9d0596a7715879357e8d9a3b786b2 (patch)
tree0c2b6fdc1484b697b1a3740582a906fb51c1d64f /protected/tests/bootstrap.php
Initial version
Diffstat (limited to 'protected/tests/bootstrap.php')
-rw-r--r--protected/tests/bootstrap.php10
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..165b592
--- /dev/null
+++ b/protected/tests/bootstrap.php
@@ -0,0 +1,10 @@
+<?php
+
+// change the following paths if necessary
+$yiit=dirname(__FILE__).'/../../../yii/framework/yiit.php';
+$config=dirname(__FILE__).'/../config/test.php';
+
+require_once($yiit);
+require_once(dirname(__FILE__).'/WebTestCase.php');
+
+Yii::createWebApplication($config);