summaryrefslogtreecommitdiff
path: root/protected/tests/bootstrap.php
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2012-04-13 23:44:38 +0200
committerPatrick Seeger <pseeger@ccwn.org>2012-04-13 23:44:38 +0200
commit69bffb7fe85347621f41c0baed839452e72930e1 (patch)
tree8446bced1732932fd741e91ff8dba88b1e56693b /protected/tests/bootstrap.php
parenta098922f681a9a1362202580a26b132501df4b1b (diff)
Erstes Yii Projekt
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..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);