From 651c5c3d903fbbee7f3f3c009ad81e87d50dd3bd Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sat, 17 Oct 2020 22:13:28 +0200 Subject: [PATCH] Fix test We now return a 403 status code when a password is needed --- tests/DownloadControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DownloadControllerTest.php b/tests/DownloadControllerTest.php index 76e6544..35ca8a1 100644 --- a/tests/DownloadControllerTest.php +++ b/tests/DownloadControllerTest.php @@ -161,7 +161,7 @@ class DownloadControllerTest extends ControllerTest */ public function testDownloadWithMissingPassword() { - $this->assertRequestIsRedirect('download', ['url' => 'http://vimeo.com/68375962']); + $this->assertRequestIsClientError('download', ['url' => 'http://vimeo.com/68375962']); } /**