Skip to content

Commit

Permalink
Fixing XForwardedForTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Devenport authored and Eric Devenport committed May 13, 2024
1 parent b3dac9e commit 95f99ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/XForwardedForTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public function testNativeNotSet() {
$sender = new NativeSender();

$sender->send($request);
$headers = $request->getHeaders();

$this->assertEquals(null, $request->getHeaders()["X_FORWARDED_FOR"]);
$this->assertEquals(false, array_key_exists("X_FORWARDED_FOR", $headers));
}
}

0 comments on commit 95f99ff

Please sign in to comment.