Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-04-26 20:01:08 +0300
committerJulius Härtl <jus@bitgrid.net>2021-04-28 11:40:59 +0300
commitcee905c3fff723c806b0611daa9379af894ea462 (patch)
tree195de3e0f139c8fa7078ec2031769cd1d7d23741 /tests
parentca0b424e3459f3b34c9d723072b0f7e8cd510f29 (diff)
Add documentation and improve parameter naming
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/features/bootstrap/DirectContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/features/bootstrap/DirectContext.php b/tests/features/bootstrap/DirectContext.php
index c9c4a57d..4c17a0f4 100644
--- a/tests/features/bootstrap/DirectContext.php
+++ b/tests/features/bootstrap/DirectContext.php
@@ -154,7 +154,7 @@ class DirectContext implements Context {
private function requestPublicDirectEditingLink($user, $token, $filePath = null, $password = null) {
$this->serverContext->sendOCSRequest('POST', 'apps/richdocuments/api/v1/share', [
- 'shareTokenSourceInstance' => $this->serverContext->getBaseUrl(),
+ 'host' => $this->serverContext->getBaseUrl(),
'shareToken' => $token,
'path' => $filePath,
'password' => $password