Skip to content

Commit

Permalink
Merge b0160c2 into 9744958
Browse files Browse the repository at this point in the history
  • Loading branch information
dbfx committed Jul 23, 2019
2 parents 9744958 + b0160c2 commit f5bce7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Castle/RequestContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Castle_RequestContext
# Extract a request context from the $Server environment.
public static function extract() {
return array(
'clientId' => self::extractClientId(),
'client_id' => self::extractClientId(),
'ip' => self::extractIp(),
'headers' => self::extractHeaders(),
'user_agent' => self::extractUserAgent(),
Expand Down
2 changes: 1 addition & 1 deletion test/RequestContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function setUp() {

public function contextProvider() {
return array(array(array(
'clientId' => '1ccf8dee-904b-4d20-8a88-55ded468bcc5',
'client_id' => '1ccf8dee-904b-4d20-8a88-55ded468bcc5',
'ip' => '8.8.8.8',
'headers' => array(
'User-Agent' => 'TestAgent',
Expand Down

0 comments on commit f5bce7f

Please sign in to comment.