We now return a 403 status code when a password is needed
This commit is contained in:
Pierre Rudloff 2020-10-17 22:13:28 +02:00
parent 50ea02cf04
commit 651c5c3d90
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class DownloadControllerTest extends ControllerTest
*/ */
public function testDownloadWithMissingPassword() public function testDownloadWithMissingPassword()
{ {
$this->assertRequestIsRedirect('download', ['url' => 'http://vimeo.com/68375962']); $this->assertRequestIsClientError('download', ['url' => 'http://vimeo.com/68375962']);
} }
/** /**