mirror of
https://github.com/Rudloff/alltube.git
synced 2024-06-26 07:29:06 +02:00
Fix test
We now return a 403 status code when a password is needed
This commit is contained in:
parent
50ea02cf04
commit
651c5c3d90
|
@ -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']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user