nextcloud/apps/files_sharing/tests
Roeland Jago Douma 8bfa532075
Fix test race condition
E-tag propagation replies on the mtime of the file. Order of events:

1. add file 'foo.txt' with content 'bar'
2. Set mtime to now() - 1
3. Check if etag changed.

Now this goes right often when 1 and 2 happen in the same second.
However imagine

1. add file 'foo.txt' with content 'bar' (at t=0.999)
2. Set mtime to now() - 1 (at t=1.001)

Now the mtime will be set to the same time. Thus not chaning the etag.
2016-05-11 14:07:37 +02:00
..
api Add locking to modifying operation of the OCS Share API 2016-04-30 10:32:35 +02:00
controller move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +02:00
external Update author information 2016-03-01 17:25:15 +01:00
js Fix displaying owner before share icon in file list 2016-03-30 18:09:02 +02:00
middleware Happy new year! 2016-01-12 15:02:18 +01:00
activity.php Fix tests 2016-01-26 14:02:32 +01:00
api.php Translate OCS Share API error messages 2016-04-25 11:08:48 +02:00
backend.php Update author information 2016-03-01 17:25:15 +01:00
cache.php Fix tests 2016-04-19 14:04:00 +02:00
capabilities.php Add capability to show if group sharing is enabled 2016-04-04 19:35:01 +02:00
deleteorphanedsharesjobtest.php Happy new year! 2016-01-12 15:02:18 +01:00
encryptedsizepropagation.php Add unit tests for shared size propagation with encryption 2016-04-21 13:13:18 +02:00
etagpropagation.php Fix test race condition 2016-05-11 14:07:37 +02:00
expiresharesjobtest.php Happy new year! 2016-01-12 15:02:18 +01:00
externalstorage.php Happy new year! 2016-01-12 15:02:18 +01:00
groupetagpropagation.php Fix tests 2016-04-19 14:04:00 +02:00
helper.php Happy new year! 2016-01-12 15:02:18 +01:00
locking.php Fix tests 2016-04-19 14:04:00 +02:00
migrationtest.php Update author information 2016-03-01 17:25:15 +01:00
permissions.php Fix tests 2016-04-19 14:04:00 +02:00
propagationtestcase.php Happy new year! 2016-01-12 15:02:18 +01:00
server2server.php move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +02:00
share.php Fix tests 2016-04-19 14:04:00 +02:00
sharedmount.php Fix tests 2016-04-19 14:04:00 +02:00
sharedstorage.php Fix tests 2016-04-19 14:04:00 +02:00
sizepropagation.php Add unit tests for shared size propagation with encryption 2016-04-21 13:13:18 +02:00
testcase.php Merge pull request #23919 from owncloud/cyclyc-share-dep-example 2016-04-20 20:37:27 +02:00
unsharechildren.php Fix tests 2016-04-19 14:04:00 +02:00
updater.php Fix tests 2016-04-19 14:04:00 +02:00
watcher.php Fix tests 2016-04-19 14:04:00 +02:00