diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-04-26 20:01:08 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-04-28 11:40:59 +0300 |
commit | cee905c3fff723c806b0611daa9379af894ea462 (patch) | |
tree | 195de3e0f139c8fa7078ec2031769cd1d7d23741 /tests | |
parent | ca0b424e3459f3b34c9d723072b0f7e8cd510f29 (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.php | 2 |
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 |