nextcloud/apps/files_sharing/tests
Daniel Calviño Sánchez 05cbdddb0d Fix valid storages removed when cleaning remote storages
The remote URL of a share is always stored in the database with a
trailing slash. However, when a cloud ID is generated trailing slashes
are removed.

The ID of a remote storage is generated from the cloud ID, but the
"cleanup-remote-storage" command directly used the remote URL stored in
the database. Due to this, even if the remote storage was valid, its ID
did not match the ID of the remote share generated by the command and
ended being removed.

Now the command generates the ID of remote shares using the cloud ID
instead, just like done by the remote storage, so there is no longer a
mismatch.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-18 08:02:28 +00:00
..
Collaboration Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Command Fix valid storages removed when cleaning remote storages 2021-03-18 08:02:28 +00:00
Controller Show unique displayname context in the user share list entries 2021-01-05 10:06:32 +01:00
External set the display name of federated sharees from addressbook 2020-11-25 14:32:06 +01:00
Middleware Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Migration Update license headers for 19 2020-04-29 11:57:22 +02:00
js Fix sharing breadcrumbs 2019-11-06 00:53:59 +01:00
ApiTest.php Indicate preview availability in share api responses 2020-11-06 00:11:31 +01:00
CacheTest.php fix search in nested jails 2021-03-16 15:27:00 +01:00
CapabilitiesTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DeleteOrphanedSharesJobTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
EncryptedSizePropagationTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
EtagPropagationTest.php better cleanup in share tests 2020-07-09 12:33:20 +00:00
ExpireSharesJobTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ExternalStorageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
GroupEtagPropagationTest.php Update license headers 2019-12-05 15:38:45 +01:00
HelperTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LockingTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MountProviderTest.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
PermissionsTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
PropagationTestCase.php Update license headers 2019-12-05 15:38:45 +01:00
ShareTest.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
SharedMountTest.php SharedMountTest.php:367 is unreliable 2020-10-16 06:43:40 +00:00
SharedStorageTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SizePropagationTest.php Update license headers 2019-12-05 15:38:45 +01:00
TestCase.php better cleanup in share tests 2020-07-09 12:33:20 +00:00
UnshareChildrenTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
UpdaterTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
WatcherTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00