summaryrefslogtreecommitdiff
path: root/protected/tests/functional/UserControllerTest.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@ccwn.org>2012-06-11 18:26:37 +0200
committerTristan Zur <tzur@ccwn.org>2012-06-11 18:26:37 +0200
commite4d6e829d133584fd04e5f7ae36ba786115b7586 (patch)
tree5e5a5598fda2386dc0fc69e85c603e1808780b00 /protected/tests/functional/UserControllerTest.php
parent8f7b134e5a5e8ad43e7dd2f23f7120655bf5aa2d (diff)
Funktionalität zum erneuern eines Passworts hinzugefügt
- Generierung eines neuen Passworts - eMail an den Verein mit dem neuen Passwort - eMail an die Admin-Adresse, dass Verein ein neues Passwort bekommen hat
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