[ ] Bring back the relevant skip tag and issue tag (@skipOnLDAP, @issue-user_ldap-702, @issue-37683)
Background: # /var/www/owncloud/testrunner/tests/acceptance/features/apiSharePublicLink2/copyFromPublicLinkOc10Issue37683.feature:4
Given user "Alice" has been created with default attributes and without skeleton files # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
And user "Alice" has created folder "/PARENT" # FeatureContext::userHasCreatedFolder()
Scenario: Copy folder within a public link folder to the same folder name as an already existing file # /var/www/owncloud/testrunner/tests/acceptance/features/apiSharePublicLink2/copyFromPublicLinkOc10Issue37683.feature:9
Given user "Alice" has created folder "/PARENT/testFolder" # FeatureContext::userHasCreatedFolder()
And user "Alice" has uploaded file with content "some data" to "/PARENT/testFolder/testfile.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has uploaded file with content "some data 1" to "/PARENT/copy1.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has created a public link share with settings # FeatureContext::userHasCreatedAPublicLinkShareWithSettings()
| path | /PARENT |
| permissions | read,update,create,delete |
When the public copies folder "/testFolder" to "/copy1.txt" using the new public WebDAV API # PublicWebDavContext::thePublicCopiesFileUsingTheWebDAVApi()
Then the HTTP status code should be "204" # FeatureContext::thenTheHTTPStatusCodeShouldBe()
And as "Alice" folder "/PARENT/testFolder" should exist # FeatureContext::asFileOrFolderShouldExist()
And as "Alice" folder "/PARENT/copy1.txt" should exist # FeatureContext::asFileOrFolderShouldExist()
And as "Alice" file "/PARENT/copy1.txt/testfile.txt" should exist # FeatureContext::asFileOrFolderShouldExist()
And the content of file "/PARENT/copy1.txt/testfile.txt" for user "Alice" should be "some data" # FeatureContext::contentOfFileForUserShouldBe()
The content was expected to be 'some data', but actually is '<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\ServiceUnavailable</s:exception>
<s:message>Could not open file</s:message>
</d:error>
'. HTTP status was 503
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'some data'
+'<?xml version="1.0" encoding="utf-8"?>\n
+<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">\n
+ <s:exception>Sabre\DAV\Exception\ServiceUnavailable</s:exception>\n
+ <s:message>Could not open file</s:message>\n
+</d:error>\n
+'
And the content of file "/PARENT/testFolder/testfile.txt" for user "Alice" should be "some data"
Build: https://drone.owncloud.com/owncloud/user_ldap/4345/126/20 Should be skipped on ldap. see https://github.com/owncloud/core/pull/39632 The skip tag was removed recently in PR https://github.com/owncloud/core/pull/40622
Todo:
@skipOnLDAP
,@issue-user_ldap-702
,@issue-37683
)