summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-11-25 09:07:34 +0100
committerJoas Schilling <coding@schilljs.com>2021-11-25 15:40:20 +0100
commit0c3217edfa9969f284f3fefe4389ea95c22c8596 (patch)
treede1797c8c6db78e473094972894068f0e1f3e26e /build
parent696e4f16a52085a073227b33c39abf63ff5b0358 (diff)
downloadnextcloud-server-0c3217edfa9969f284f3fefe4389ea95c22c8596.tar.gz
nextcloud-server-0c3217edfa9969f284f3fefe4389ea95c22c8596.zip
Add an integration test
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/webdav-related.feature9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature
index 66652e6fa26..b6d7b431e20 100644
--- a/build/integration/features/webdav-related.feature
+++ b/build/integration/features/webdav-related.feature
@@ -608,3 +608,12 @@ Feature: webdav-related
And user "user0" uploads new chunk file "3" with "CCCCC" to id "chunking-42"
When user "user0" moves new chunk file with id "chunking-42" to "/myChunkedFile.txt" with size 15
Then the HTTP status code should be "201"
+
+ Scenario: Creating a folder with invalid characters
+ Given using new dav path
+ And As an "admin"
+ And user "user0" exists
+ And user "user1" exists
+ And As an "user1"
+ And user "user1" created a folder "/testshare "
+ Then the HTTP status code should be "400"