aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Node/RootTest.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Add SPDX headerAndy Scherzinger2024-05-131-4/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* perf: cache path by id to speedup getting nodes by idRobin Appelman2024-03-041-6/+21
| | | | 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>
* tests: Adapt node related unit tests mocks to required root viewJulius Härtl2023-04-171-26/+17
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* 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>
* Fix testJoas Schilling2022-04-201-3/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate from ILogger to LoggerInterface where needed in the testsCôme Chilliet2022-03-241-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* adjust tests to new fs setupRobin Appelman2022-03-041-6/+16
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-12/+12
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-2/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-2/+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-2/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-13/+13
| | | | 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>
* Add dispatcher events to User and Group objectsJoas Schilling2019-03-011-8/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use ::class in test mocks of dav appMorris Jobke2017-10-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-241-6/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* DI for root.phpLukas Reschke2016-11-021-59/+113
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix mock warning in some FS tests (#26464)Vincent Petry2016-11-021-1/+1
|
* Add using casing check/fix for initMountPointsVincent Petry2016-11-021-0/+57
|
* optimize Folder::getById to use less queriesRobin Appelman2016-10-121-4/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* RootTest does not require DBRoeland Jago Douma2016-07-131-20/+39
| | | | | | * Removed from DB group * Also mock the manager * Fixed deprecated getMock warnings
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+104
* 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