diff --git a/lib/Castle/Castle.php b/lib/Castle/Castle.php index 493b563..2611eb4 100755 --- a/lib/Castle/Castle.php +++ b/lib/Castle/Castle.php @@ -2,7 +2,7 @@ abstract class Castle { - const VERSION = '1.7.0'; + const VERSION = '2.0.0'; const HEADER_COOKIE = 'Cookie'; const HEADER_USER_AGENT = 'User-Agent'; diff --git a/test/RequestContextTest.php b/test/RequestContextTest.php index 36b4434..c2dbb26 100644 --- a/test/RequestContextTest.php +++ b/test/RequestContextTest.php @@ -30,7 +30,7 @@ public function contextProvider() { } public function contextJsonProvider() { - 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"}}')); + 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":"2.0.0"}}')); } /**