summaryrefslogtreecommitdiff
path: root/framework/cli/views/webapp/protected/tests/bootstrap.php
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2012-04-13 23:11:05 +0200
committerPatrick Seeger <pseeger@ccwn.org>2012-04-13 23:11:05 +0200
commit341cc4dd9c53ffbfb863e026dd58549c1082c7a7 (patch)
tree1bbbed20313bafb9b063b6b4d894fe580d8b000f /framework/cli/views/webapp/protected/tests/bootstrap.php
yii-framework 1.1.10 hinzugefügtHEADmaster
Diffstat (limited to 'framework/cli/views/webapp/protected/tests/bootstrap.php')
-rw-r--r--framework/cli/views/webapp/protected/tests/bootstrap.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/framework/cli/views/webapp/protected/tests/bootstrap.php b/framework/cli/views/webapp/protected/tests/bootstrap.php
new file mode 100644
index 0000000..4404cac
--- /dev/null
+++ b/framework/cli/views/webapp/protected/tests/bootstrap.php
@@ -0,0 +1,10 @@
+<?php
+
+// change the following paths if necessary
+$yiit=dirname(__FILE__).'/../../../framework/yiit.php';
+$config=dirname(__FILE__).'/../config/test.php';
+
+require_once($yiit);
+require_once(dirname(__FILE__).'/WebTestCase.php');
+
+Yii::createWebApplication($config);