aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/SharedStorageTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-3/+3
| | | | | | | | | | 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>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Replace static call to Share::unshare with ShareManager->deleteShare in testsMorris Jobke2020-11-301-3/+1
| | | | | | And then cleanup all the code that is dead then... Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use IBootstrap for the files_trashbin appMorris Jobke2020-07-231-1/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update share type constant usageJoas Schilling2020-06-241-17/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+0
| | | | | | | | | | | | | | | 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>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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-2/+2
| | | | | | | | | | | * 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 share testsRoeland Jago Douma2019-11-201-1/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cleanup unused methodsMorris Jobke2017-08-151-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Revert "fix permissions of mountpoints - take 2"Morris Jobke2017-05-151-4/+3
|
* update comment to codeRobin Appelman2017-05-151-2/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix SharedStorage TestRoeland Jago Douma2017-05-041-1/+1
| | | | | | | | A moveable mount point (What a SharedStorage is) always has DELETE + UPDATE permissions. Since you can either delete (unshare) or update (rename) it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* set cache to failedcache when shared storage init failsRobin Appelman2017-03-231-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Ignore NoUserException for shares from ghostsVincent Petry2017-03-201-0/+38
| | | | | | Add unit tests for FailedStorage init from SharedStorage Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* use unmasked permissions in shared scannerRobin Appelman2016-12-141-0/+28
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* apply permissions mask for shared storageRobin Appelman2016-12-021-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move OC\Files\Storage\Shared to the right namespaceJoas Schilling2016-10-201-1/+1
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-211-3/+4
|
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Move tests to PSR-4Joas Schilling2016-05-251-0/+532