aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Lockdown
Commit message (Collapse)AuthorAgeFilesLines
* test: Fix IStorage return typesprovokateurin2024-09-261-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(Storage): Document getOwner() can return falseprovokateurin2024-09-171-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Remove OCP\Files\Storage interface deprecated since version 9Côme Chilliet2024-09-161-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-154-60/+60
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* refactor(Token): introduce scope constantsArthur Schiwon2024-06-052-4/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-134-74/+8
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Refactor `OC\Server::getLockdownManager`Andrew Summers2024-03-151-2/+2
| | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* composer run cs:fixCôme Chilliet2023-01-202-2/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix last testsJoas Schilling2021-12-021-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* More unit test adjustmentsJoas Schilling2021-12-011-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | | | | 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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-274-5/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-274-6/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * 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>
* Remove deprecated searchByTagRoeland Jago Douma2019-07-261-4/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Save the scope of an auth token in the sessionRobin Appelman2017-04-051-3/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix unit testsMorris Jobke2017-02-081-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add test for setting up fake fsRobin Appelman2016-11-162-1/+64
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Adds NullCache ans NullStorage tests for LockdownRoeland Jago Douma2016-11-162-0/+402
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add testsRobin Appelman2016-11-161-0/+49
Signed-off-by: Robin Appelman <robin@icewind.nl>