fixup! fixup! Sharing: redirect to download after authentification if requested

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-03-01 13:17:08 +01:00
parent 4c2aff0807
commit 3824e6f631
No known key found for this signature in database
GPG key ID: FB5ACEED51955BF8

View file

@ -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);
}