summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/Jobs
Commit message (Collapse)AuthorAgeFilesLines
* Adapt Sync job tests to the constructor changeCôme Chilliet2023-04-271-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix job tests in updatenotification and user_ldap applicationsCôme Chilliet2022-12-051-1/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Port existing server code to new interfaceCarl Schwan2022-08-081-1/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* adjust testsArthur Schiwon2022-06-281-20/+31
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-043-6/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix LDAP unit testsJoas Schilling2021-04-201-2/+2
| | | | | | | 20) OCA\user_ldap\tests\Jobs\UpdateGroupsTest::testHandleKnownGroups Trying to configure method "fetchAll" which cannot be configured because it does not exist, has not been specified, is final, or is static Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* adds unit test for updategroups background jobArthur Schiwon2020-10-301-0/+189
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* user share manager to determine share ownershipArthur Schiwon2020-10-262-3/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* LDAP simplify User_Proxy and Group_Proxy signaturesArthur Schiwon2020-10-231-57/+40
| | | | | | | | | - make User_Proxy and Group_Proxy easy to instantiate - simplify dependent code - move commands to info.xml - make UpdateGroups job class non-static Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-052-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* fix strings being passed where arrays where expectedArthur Schiwon2020-06-241-0/+14
| | | | | | also brought type hints up to internal API level Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-12/+10
| | | | | | | | | | | | | | | 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-2/+2
| | | | 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>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-1/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-5/+5
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-052-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-1/+1
| | | | 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>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+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>
* fix return value when ldapPagingSize returns nullArthur Schiwon2018-01-111-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* when paged results are turned off, all (max possible) users are returnedArthur Schiwon2018-01-111-1/+2
| | | | | | thus hasMoreResult should return false Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* extend test for rotating prefixesArthur Schiwon2018-01-081-1/+10
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add tests for whole run commandArthur Schiwon2018-01-081-0/+104
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add unit test for qualifies to runArthur Schiwon2018-01-081-3/+19
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add unit test for determining next cycleArthur Schiwon2018-01-081-0/+41
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* create failing test for this caseArthur Schiwon2018-01-051-0/+55
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* resolve DIArthur Schiwon2017-11-091-13/+27
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add Sync testArthur Schiwon2017-11-091-0/+130
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix getMock user_ldapRoeland Jago Douma2016-09-061-3/+7
|
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Move tests/ to PSR-4Joas Schilling2016-05-251-0/+149