Scenario Outline: Get the mtime of a file shared by public link # /home/dipakacharya/www/core/tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature:765
Given using <dav_version> DAV path # FeatureContext::usingOldOrNewDavPath()
And user "Alice" has uploaded a file to "file.txt" with mtime "Thu, 08 Aug 2019 04:18:13 GMT" using the WebDAV API # FeatureContext::userUploadsFileWithContentToWithMtimeUsingTheWebdavApi()
When user "Alice" creates a public link share using the sharing API with settings # FeatureContext::userCreatesAPublicLinkShareWithSettings()
| path | file.txt |
| permissions | read |
Then the HTTP status code should be "200" # FeatureContext::thenTheHTTPStatusCodeShouldBe()
And the mtime of file "file.txt" in the last shared public link using the WebDAV API should be "Thu, 08 Aug 2019 04:18:13 GMT" # PublicWebDavContext::theMtimeOfFileInTheLastSharedPublicLinkUsingTheWebdavApiShouldBe()
Examples:
| dav_version |
| old |
Failed asserting that 'Tue, 13 Oct 2020 11:55:26 +0000' contains "Thu, 08 Aug 2019 04:18:13".
Trying to upload files with mtime doesnt works.
Test to demonstrate