Skip to content

Commit

Permalink
Merge pull request #54 from smartystreets/eric/fix-x-forwarded-for-test
Browse files Browse the repository at this point in the history
Eric/fix x forwarded for test
  • Loading branch information
RyanLCox1 authored May 13, 2024
2 parents 13a397f + 19d4538 commit 032e873
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 032e873

Please sign in to comment.