aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Accounts/AccountPropertyTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix testJoas Schilling2022-01-111-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add missing scope to testDaniel Calviño Sánchez2021-08-181-0/+1
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* do not use private AccountManager in UsersControllerArthur Schiwon2021-05-251-7/+28
| | | | | | | | - extends IAccountProperty for verificationData getters and setters - implementation thereof ^ - and of course adaption of UsersController Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* allow to set valid scopes only in AccountPropertyArthur Schiwon2021-05-121-4/+8
| | | | | | the auto-fallback to v2-local is removed as well to react on wrong input Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Map old account scope properties to new namesVincent Petry2021-03-261-10/+39
| | | | | | | | Use new scope values in settings page. Adjust all consumers to use the new constants. Map old scope values to new ones in account property getter. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-3/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use IAccountManager constantsJulius Härtl2018-10-151-30/+28
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add tests for new account api classesJulius Härtl2018-10-151-0/+104
Signed-off-by: Julius Härtl <jus@bitgrid.net>