summaryrefslogtreecommitdiffstats
path: root/tests/Settings/Controller/UsersControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Use ::class in test mocksMorris Jobke2017-10-241-47/+49
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* no warning on password change if no encryption module uses per-user keysBjoern Schiessle2017-07-061-4/+32
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Update unit testsMorris Jobke2017-07-051-12/+68
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* adjust the testJoas Schilling2017-06-061-0/+46
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* consolidate setEnabled methodArthur Schiwon2017-04-291-12/+16
| | | | | | and fix a unit test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix unit testsMorris Jobke2017-04-291-16/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* use proper return codes and handle failure casesMorris Jobke2017-04-291-4/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve wording of error messagesMorris Jobke2017-04-291-6/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix unit testsMorris Jobke2017-04-291-24/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add unit tests for enable methodMorris Jobke2017-04-291-1/+221
|
* add unit tests for disable methodMorris Jobke2017-04-291-1/+219
|
* adjust tests to have at least one disabled userMorris Jobke2017-04-291-2/+13
|
* Fix unit testsRoeland Jago Douma2017-04-291-1/+59
|
* Fix unit testsMorris Jobke2017-04-291-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix unit testBjoern Schiessle2017-04-281-21/+24
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check verification proof and update account tableBjoern Schiessle2017-04-281-2/+104
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Use the correct classJoas Schilling2017-04-201-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Import some classesJoas Schilling2017-04-201-80/+51
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-2/+0
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add support for themingLukas Reschke2017-04-071-183/+27
| | | | | | Add support for theming in generated emails and simplify API Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix testsLukas Reschke2017-04-071-36/+98
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* New layout for welcome emailMorris Jobke2017-04-071-38/+41
| | | | | | | * thanks to @espina2 for make this nice design * the button says "Set password" if the admin didn't specified a password Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add unit testsMorris Jobke2017-02-151-3/+165
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Always enable avatarsMorris Jobke2017-02-131-4/+0
| | | | | | | | | * we introduced this setting in the begining because our avatar support caused some performance issues, but we fixed them and should only provide one way how Nextcloud looks Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Error out when subadmin doesn't select any groupJoas Schilling2017-01-231-145/+64
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* make sure that we only update the email address if it really changedBjoern Schiessle2016-12-021-7/+26
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* bring back setEmailAddress for the user managementBjoern Schiessle2016-11-251-9/+61
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update email address correctlyBjoern Schiessle2016-11-231-20/+251
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix unit testsBjoern Schiessle2016-11-211-74/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow to change display names in the user settings againBjörn Schießle2016-11-211-0/+1
| | | | | | keep display name and email address in sync with the accounts table Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsJoas Schilling2016-10-061-197/+241
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix getMock UsersControllerTestRoeland Jago Douma2016-09-131-13/+16
|
* Move tests/settings to PSR-4Joas Schilling2016-05-191-0/+2032