Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AnaelMobilia committed Dec 8, 2024
1 parent 7c74e2e commit af4ac28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions __tests/AbuseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit af4ac28

Please sign in to comment.