aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/TestCase.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: apply new CSFixer rulesFerdinand Thiessen2025-07-011-0/+1
| | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> # Conflicts: # apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
* fix(tests): Avoid user login before a private key is setupCôme Chilliet2025-05-131-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace all usages of OC_User backend method calls by IUserManagerfix/cleanup-user-backendsCôme Chilliet2025-04-101-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-131-23/+29
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-4/+5
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-5/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* test: mark share test cleanup as running across all shardsRobin Appelman2024-08-281-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-5/+5
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-06-061-29/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* 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>
* Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-211-7/+1
|
* tests: Fix test isolation on object storageJulius Härtl2023-02-171-1/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* add test for shared mount conflict resolutionRobin Appelman2023-01-091-0/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove broken function resetStorage from test casesCôme Chilliet2022-08-021-13/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Cache display nameCarl Schwan2022-04-221-0/+2
| | | | | | | | This should saves some query in the share backend when displaying the owner and it's not important if the display name is 10 minutes outdated as it is very rare that this gets changed. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* update testsRobin Appelman2021-10-191-1/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix unit testsJoas Schilling2021-04-271-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Re-use fetched dependencies in lib/base.phpMorris Jobke2021-01-201-2/+2
| | | | | | | | Reduces calls to DI container by reusing already fetched dependencies. For status.php it went from 355 to 344. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* better cleanup in share testsRobin Appelman2020-07-091-0/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-5/+9
| | | | | | | | | | | | | | | 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 unused importsChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix testsJohn Molakvoæ (skjnldsv)2019-12-021-3/+2
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix share testsRoeland Jago Douma2019-11-201-1/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not use \OCP\DB anymoreRoeland Jago Douma2018-03-261-12/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove legacy class OC_Group and OC_UserMorris Jobke2017-03-091-8/+17
| | | | | | * basically a straight replacement of the wrapped code at the calling code parts Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move OC\Files\Storage\Shared to the right namespaceJoas Schilling2016-10-201-1/+1
|
* more robust test setupRobin Appelman2016-10-121-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more efficient querying of numeric storage idsRobin Appelman2016-09-071-0/+1
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-211-3/+4
|
* Update license headersLukas Reschke2016-05-261-2/+2
|
* Move tests to PSR-4Joas Schilling2016-05-251-0/+232