diff --git a/tests/Controller/UpdateManagerControllerTest.php b/tests/Controller/UpdateManagerControllerTest.php index b0ad3af7..e770a5bb 100644 --- a/tests/Controller/UpdateManagerControllerTest.php +++ b/tests/Controller/UpdateManagerControllerTest.php @@ -49,8 +49,8 @@ final class UpdateManagerControllerTest extends WebTestCase $client->request('GET', '/en/system/update-manager'); - // Should redirect to login - $this->assertResponseRedirects(); + // Should deny access (401 with HTTP Basic auth in test env) + $this->assertResponseStatusCodeSame(401); } public function testIndexPageAccessibleByAdmin(): void