mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fixup! fixup! Sharing: redirect to download after authentification if requested
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
4c2aff0807
commit
3824e6f631
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue