summaryrefslogtreecommitdiff
path: root/protected/tests/functional/UserControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/tests/functional/UserControllerTest.php')
-rw-r--r--protected/tests/functional/UserControllerTest.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/protected/tests/functional/UserControllerTest.php b/protected/tests/functional/UserControllerTest.php
new file mode 100644
index 0000000..c23102f
--- /dev/null
+++ b/protected/tests/functional/UserControllerTest.php
@@ -0,0 +1,8 @@
+<?php
+$yii=dirname(__FILE__).'/../../../../yii/framework/yii.php';
+$config=dirname(__FILE__).'/../../config/maincfg.php';
+require_once($yii);
+Yii::createWebApplication($config)->run();
+$uc = new UserController(1);
+echo $uc->actionNewPassword(1);
+?> \ No newline at end of file