Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alain Schlesser <alain.schlesser@gmail.com>
  • Loading branch information
kasparsd and schlessera authored Oct 16, 2023
1 parent f7b3f10 commit a24b87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests/test-class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function test_get_client_ip_address() {
}

public function test_get_unsafe_client_ip_address() {
$_SERVER['HTTP_X_FORWARDED_FOR'] = '123.123.123.123,321.123.123.123';
$_SERVER['HTTP_X_FORWARDED_FOR'] = ' 123.123.123.123 , 321.123.123.123, 456.123.123.123 ';

$this->assertEquals(
'123.123.123.123',
Expand Down

0 comments on commit a24b87c

Please sign in to comment.