summaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/Sharing.php
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-08-26 10:30:26 +0200
committerVincent Petry <vincent@nextcloud.com>2022-08-26 14:18:47 +0200
commitc1df72fc8b578e201b89793c65755f767f5073c7 (patch)
tree6e810aea9640c484a0381b9ad1fdce6a75280856 /build/integration/features/bootstrap/Sharing.php
parente9a344a6444d59a63a00c2a291ae6d1dbe30a24e (diff)
downloadnextcloud-server-c1df72fc8b578e201b89793c65755f767f5073c7.tar.gz
nextcloud-server-c1df72fc8b578e201b89793c65755f767f5073c7.zip
Fix copy in view-only mode
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'build/integration/features/bootstrap/Sharing.php')
-rw-r--r--build/integration/features/bootstrap/Sharing.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/Sharing.php b/build/integration/features/bootstrap/Sharing.php
index f804f64e59a..aa9244d3c2a 100644
--- a/build/integration/features/bootstrap/Sharing.php
+++ b/build/integration/features/bootstrap/Sharing.php
@@ -440,7 +440,7 @@ trait Sharing {
}
/**
- * @Given /^(file|folder|entry) "([^"]*)" of user "([^"]*)" is shared with group "([^"]*)"( with permissions ([\d]*))( view-only)?$/
+ * @Given /^(file|folder|entry) "([^"]*)" of user "([^"]*)" is shared with group "([^"]*)"( with permissions ([\d]*))?( view-only)?$/
*
* @param string $filepath
* @param string $user