spec/cassettes/users/create/invalid_token.yml in lifen-0.2.1 vs spec/cassettes/users/create/invalid_token.yml in lifen-1.0.0
- old
+ new
@@ -6,49 +6,55 @@
body:
encoding: UTF-8
string: '{"emailAddress":"invalid-key-email@test.tld","lastName":null,"firstName":null}'
headers:
User-Agent:
- - Faraday v0.9.2
- Secret-Key:
- - invalid-secret-key
+ - Faraday v0.10.0
+ Authorization:
+ - Bearer invalid-secret-key
Content-Type:
- application/json
+ Accept:
+ - application/json
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
- Accept:
- - "*/*"
response:
status:
code: 401
message: Unauthorized
headers:
Server:
- Apache-Coyote/1.1
X-B3-Sampled:
- '1'
X-B3-Spanid:
- - c27725b2f8083d04
+ - d0655043bd3b7d47
X-B3-Traceid:
- - c27725b2f8083d04
+ - d0655043bd3b7d47
X-Content-Type-Options:
- nosniff
X-Xss-Protection:
- 1; mode=block
Cache-Control:
- no-cache, no-store, max-age=0, must-revalidate
+ - no-store
Pragma:
- no-cache
+ - no-cache
Expires:
- '0'
+ Www-Authenticate:
+ - 'Bearer realm="oauth", error="invalid_token", error_description="Invalid access
+ token: invalid-secret-key"'
Content-Type:
- application/json;charset=UTF-8
Transfer-Encoding:
- chunked
Date:
- - Wed, 07 Sep 2016 12:35:11 GMT
+ - Fri, 09 Dec 2016 09:48:23 GMT
body:
encoding: UTF-8
- string: '{"timestamp":"2016-09-07T12:35:11.807+0000","status":401,"error":"Unauthorized","code":"authentication.failed","X-B3-TraceId":"c27725b2f8083d04","X-B3-SpanId":"c27725b2f8083d04"}'
+ string: '{"error":"invalid_token","error_description":"Invalid access token:
+ invalid-secret-key"}'
http_version:
- recorded_at: Wed, 07 Sep 2016 12:35:07 GMT
+ recorded_at: Fri, 09 Dec 2016 09:46:32 GMT
recorded_with: VCR 3.0.3