From af4ac289f93864f81b09881452d00b3550c561a8 Mon Sep 17 00:00:00 2001 From: Anael MOBILIA Date: Mon, 9 Dec 2024 00:25:58 +0100 Subject: [PATCH] Fix tests --- __tests/AbuseTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/__tests/AbuseTest.php b/__tests/AbuseTest.php index 9baffaf..283f482 100644 --- a/__tests/AbuseTest.php +++ b/__tests/AbuseTest.php @@ -414,6 +414,7 @@ public function testAbuseContaminationMD5Approbation(): void #[RunInSeparateProcess] public function testBlocageParUserAgent(): void { + require 'config/config.php'; $_SERVER['REMOTE_ADDR'] = '127.0.0.1'; $_SERVER['HTTP_USER_AGENT'] = 'someUserAgentNumberOne'; $_SERVER['REQUEST_URI'] = 'files/image_33.png';