aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Cache
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-133-40/+9
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Move CappedMemoryCache to OCPCarl Schwan2022-07-141-2/+2
| | | | | | | | This is an helpful helper that should be used in more place than just server and this is already the case with groupfodlers, deck, user_oidc and more using it, so let's make it public Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* adjust tests to new fs setupRobin Appelman2022-03-041-13/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix fs cache test user setupRobin Appelman2022-02-091-13/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Check style updateCarl Schwan2022-01-131-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-052-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-103-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-0/+1
| | | | | | For PSR2 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-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* I love unit tests that mock unnecessary stuffJoas Schilling2019-12-041-0/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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-273-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make cache tests a bit more clearMorris Jobke2017-05-041-12/+39
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix getMock FileCacheTestRoeland Jago Douma2016-09-131-5/+5
|
* CappedMemoryCacheTest does not require DBRoeland Jago Douma2016-08-251-2/+0
| | | | Makes CI a bit more efficient
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-203-0/+324
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader