Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joladev committed Jul 26, 2019
1 parent 8c26fc5 commit 96a76c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/RequestContextTest.php
Expand Up @@ -15,7 +15,7 @@ public function setUp(): void {

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 All @@ -30,7 +30,7 @@ public function contextProvider() {
}

public function contextJsonProvider() {
return array(array('{"clientId":"1ccf8dee-904b-4d20-8a88-55ded468bcc5","ip":"8.8.8.8","headers":{"User-Agent":"TestAgent","X-Castle-Client-Id":"1ccf8dee-904b-4d20-8a88-55ded468bcc5"},"user_agent":"TestAgent","library":{"name":"castle-php","version":"1.7.0"}}'));
return array(array('{"client_id":"1ccf8dee-904b-4d20-8a88-55ded468bcc5","ip":"8.8.8.8","headers":{"User-Agent":"TestAgent","X-Castle-Client-Id":"1ccf8dee-904b-4d20-8a88-55ded468bcc5"},"user_agent":"TestAgent","library":{"name":"castle-php","version":"1.7.0"}}'));
}

/**
Expand Down

0 comments on commit 96a76c1

Please sign in to comment.