aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Accounts
Commit message (Collapse)AuthorAgeFilesLines
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-3/+3
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-14/+2
| | | | | | | | | | | | | | | 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 exactly one empty line after the namespace declarationChristoph Wurst2020-04-092-2/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Log critical fallback to user default if we can't parse the JSONChristoph Wurst2019-12-131-7/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-272-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-272-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-222-2/+0
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use IAccountManager constantsJulius Härtl2018-10-153-68/+67
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add tests for new account api classesJulius Härtl2018-10-153-0/+253
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use ::class in test mocksMorris Jobke2017-10-241-6/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix email verification statusBjoern Schiessle2017-04-281-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* updated unit testsBjoern Schiessle2017-04-281-6/+50
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #4256 from nextcloud/themingLukas Reschke2017-04-111-1/+0
|\ | | | | Move OC_Defaults to OCP\Defaults
| * Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-1/+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>
* | Also send the new account data with the eventJoas Schilling2017-04-101-5/+8
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* bring back setEmailAddress for the user managementBjoern Schiessle2016-11-251-0/+157
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update accounts table if email address or display name changes from outsideBjoern Schiessle2016-11-251-15/+24
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix unit testsBjoern Schiessle2016-11-211-0/+202
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>