diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-01 13:17:08 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-01 13:17:08 +0100 |
commit | 3824e6f631e3345401ac5720d35ec53e8983dcaa (patch) | |
tree | b0edecace480d2808adfc6f0b0e2774d2af75dd7 /apps | |
parent | 4c2aff0807f668c03d4b426fbe98c2216665f133 (diff) | |
download | nextcloud-server-3824e6f631e3345401ac5720d35ec53e8983dcaa.tar.gz nextcloud-server-3824e6f631e3345401ac5720d35ec53e8983dcaa.zip |
fixup! fixup! Sharing: redirect to download after authentification if requested
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/tests/Controller/ShareControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareControllerTest.php b/apps/files_sharing/tests/Controller/ShareControllerTest.php index dc0c7709a77..a977a422e7d 100644 --- a/apps/files_sharing/tests/Controller/ShareControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareControllerTest.php @@ -218,7 +218,7 @@ class ShareControllerTest extends \Test\TestCase { ->with('token') ->will($this->throwException(new \OCP\Share\Exceptions\ShareNotFound())); - $response = $this->shareController->authenticate('token'); + $response = $this->shareController->authenticate('token', 'preview'); $expectedResponse = new NotFoundResponse(); $this->assertEquals($expectedResponse, $response); } |