aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Config
Commit message (Collapse)AuthorAgeFilesLines
* test: update test for mountpoint numeric storage idmountpoint-get-numeric-storage-id-cacheRobin Appelman4 days1-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(users): Don't crash if disabled user is missing in the databaseartonge/fix/prevent_missing_users_from_crashing_disabled_users_searchLouis Chemineau2024-09-231-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-15/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix: make usermountcache compatible with shardingRobin Appelman2024-07-171-22/+33
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: Add SPDX headerAndy Scherzinger2024-05-131-4/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: clearify logic around getMountsForFileId filteringRobin Appelman2024-03-061-11/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* only get the path for the users cached mount info when we use itRobin Appelman2024-02-091-3/+5
| | | | | | most of the time we shouldn't need it so we can save joining on the filecache Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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>
* optimize UserMountCache::registerStorageRobin Appelman2023-11-161-14/+18
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix!: Remove symfony EventDispatcherInterface from UserJoas Schilling2023-07-271-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* more filesystem setup performance instrumentationRobin Appelman2023-02-101-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add tests for cached mount provider migrationRobin Appelman2022-08-161-0/+25
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move CappedMemoryCache to OCPCarl Schwan2022-07-141-1/+1
| | | | | | | | 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>
* Add stricter psalm type for CappedMemoryCacheCarl Schwan2022-05-121-1/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Migrate from ILogger to LoggerInterface where needed in the testsCôme Chilliet2022-03-241-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* adjust tests to new fs setupRobin Appelman2022-03-041-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make mock config return default value to fix warningsCôme Chilliet2021-11-231-1/+12
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-17/+17
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Cache the user backend info for 300sJoas Schilling2021-02-151-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add typed create user eventsChristoph Wurst2019-12-031-1/+2
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-2/+2
| | | | 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>
* Fix testsJulius Härtl2019-03-011-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow getting the filepath when getting cached mounts by fileidRobin Appelman2017-10-271-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix missing escape on column and table nameJoas Schilling2017-08-021-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* show used space in user listRobin Appelman2017-06-151-2/+33
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add unit tests for mounts of delete usersJoas Schilling2017-04-241-0/+24
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Proper DI of configRoeland Jago Douma2016-10-281-1/+2
| | | | | | * Fixed comments Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* optimize Folder::getById to use less queriesRobin Appelman2016-10-121-39/+72
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix getMock UserMountcacheTestRoeland Jago Douma2016-09-131-1/+1
|
* Save the files external mount id in the mount cache tableRobin Appelman2016-07-131-1/+26
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+375
* 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