aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests/Controller/GroupsControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix errors from PHP 8.2 testingCôme Chilliet2022-11-141-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Effectively return a valid group as it would be the case in a realDries Mys2021-06-051-2/+6
| | | | | | | situation. Returned group object is now used to set the displayname if provided. Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* provAPI to use only public API of IAccountManagerArthur Schiwon2021-05-081-18/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* LoggerInterface for provisioning API ControllersRoeland Jago Douma2021-03-021-3/+3
| | | | | | | Sweep swoop swaap swuup away with the deprecated stuff Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make code strictJoas Schilling2020-12-071-4/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-13/+13
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use the new method everywhereJoas Schilling2020-07-031-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix php-cs formattingChristoph Wurst2020-04-141-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add tests for encoded group idJulius Härtl2020-04-111-10/+74
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+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>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-3/+3
| | | | 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>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-31/+31
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* ignore non existing users when retrieving details of group membersArthur Schiwon2019-01-171-8/+76
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* New user support, provisionning api and design fixesJohn Molakvoæ (skjnldsv)2018-06-191-2/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-05-241-2/+18
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-04-051-37/+43
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-04-051-7/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Return groups displayname in provisioning apiJohn Molakvoæ (skjnldsv)2018-03-231-0/+31
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use ::class in test mocks of encryption appMorris Jobke2017-10-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-241-2/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2017-08-011-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some app fixes of phpstorm inspectionsRoeland Jago Douma2017-07-241-1/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move Groups over to OCSControllerRoeland Jago Douma2016-08-141-0/+378
* Take advantage of the AppFramework * Fix tests