aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core/Command/User
Commit message (Collapse)AuthorAgeFilesLines
* add generate-password option and flow fixesAnupam Kumar2024-02-241-40/+82
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* new user password email option, improved on #29368Anupam Kumar2024-02-241-27/+29
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* Enable adding E-Mail addresses to new user accounts using the CLIPhilip Gatzka2024-02-241-0/+126
| | | | Signed-off-by: Philip Gatzka <philip.gatzka@mailbox.org>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Add tests for occ user:auth-tokens:deleteLucas Azevedo2023-08-251-0/+170
| | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* Fix broken user:setting command unit testJoas Schilling2023-01-231-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-125-17/+17
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-095-5/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix CIKim Brose2020-01-031-1/+1
| | | Signed-off-by: Kim Brose <kim.brose@rwth-aachen.de>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-275-5/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-222-0/+2
| | | | | | | | | | | * 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>
* User command enable/disable testsRoeland Jago Douma2016-12-302-0/+188
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2016-09-061-8/+8
| | | | | | * hasParameterOption has an additional default value which we must match in the return map * Fix deprecated getMock calls
* Fix depreccated getMock in Core/Command testsRoeland Jago Douma2016-09-013-13/+26
|
* Use argument instead of valueJoas Schilling2016-07-141-20/+18
|
* FIx my emailJoas Schilling2016-07-131-1/+1
|
* Add tests for set/get/delete/listJoas Schilling2016-07-131-5/+234
|
* Make sure the exception is catchedJoas Schilling2016-07-131-5/+31
|
* Add tests for checkInput()Joas Schilling2016-07-131-0/+211
|
* Move tests/core/ to PSR-4Joas Schilling2016-05-192-0/+211