nextcloud/apps/files_sharing/tests
Daniel Calviño Sánchez ec454e7c2b 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 07:59:45 +00:00
..
Collaboration Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Command Fix valid storages removed when cleaning remote storages 2021-03-18 07:59:45 +00:00
Controller Show unique displayname context in the user share list entries 2021-01-05 10:05:52 +01:00
External Adjust default 2020-12-14 11:10:59 +01:00
Middleware Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Migration Don't leave cursors open when tests fail 2020-11-10 14:18:02 +00:00
js Fix sharing breadcrumbs 2019-11-06 00:53:59 +01:00
ApiTest.php Indicate preview availability in share api responses 2020-11-03 19:55:35 +00:00
CacheTest.php fix search in nested jails 2021-03-16 15:22:22 +01:00
CapabilitiesTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DeleteOrphanedSharesJobTest.php Update share type constant usage 2020-06-24 16:49:16 +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 11:14:45 +02:00
ExpireSharesJobTest.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +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 share type constant usage 2020-06-24 16:49:16 +02:00
HelperTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LockingTest.php Update share type constant usage 2020-06-24 16:49:16 +02:00
MountProviderTest.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
PermissionsTest.php Update share type constant usage 2020-06-24 16:49:16 +02:00
PropagationTestCase.php Update license headers 2019-12-05 15:38:45 +01:00
ShareTest.php Update share type constant usage 2020-06-24 16:49:16 +02:00
SharedMountTest.php SharedMountTest.php:367 is unreliable 2020-10-16 06:41:23 +00:00
SharedStorageTest.php Use IBootstrap for the files_trashbin app 2020-07-23 22:03:14 +02:00
SizePropagationTest.php Update share type constant usage 2020-06-24 16:49:16 +02:00
TestCase.php better cleanup in share tests 2020-07-09 11:14:45 +02:00
UnshareChildrenTest.php Update share type constant usage 2020-06-24 16:49:16 +02:00
UpdaterTest.php Use IBootstrap for the files_trashbin app 2020-07-23 22:03:14 +02:00
WatcherTest.php Update share type constant usage 2020-06-24 16:49:16 +02:00