test/vcr/cassettes/user_update/success.yml in access-2.2.0 vs test/vcr/cassettes/user_update/success.yml in access-2.3.0.pre.rc1

- old
+ new

@@ -13,15 +13,23 @@ - application/json Accept: - application/json response: status: - code: 200 - message: OK + code: 400 + message: '' headers: - Server: - - Apache-Coyote/1.1 + Date: + - Thu, 28 Jun 2018 16:27:40 GMT + Content-Type: + - application/json;charset=UTF-8 + Transfer-Encoding: + - chunked + Connection: + - keep-alive + X-Application-Context: + - application:stage X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: @@ -30,23 +38,61 @@ - no-cache Expires: - '0' X-Frame-Options: - DENY - X-Application-Context: - - application:main,stage:10120 + body: + encoding: UTF-8 + string: '{"message":"Specified Member (MCID: 226872, program_id: 2412) does + not have an user account.","status":400,"error_code":"USER_NOT_FOUND"}' + http_version: + recorded_at: Thu, 28 Jun 2018 16:27:40 GMT +- request: + method: put + uri: https://mms-stage.adcrws.com/v1/users + body: + encoding: UTF-8 + string: '{"email":"cs@test.com","password":"password","program_id":"2412","postal_code":"84101","member_key":"227889"}' + headers: + Access-Token: + - "<ACCESS_TOKEN>" Content-Type: + - application/json + Accept: + - application/json + response: + status: + code: 200 + message: '' + headers: + Date: + - Sun, 01 Jul 2018 04:23:25 GMT + Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked - Date: - - Tue, 23 Feb 2016 17:30:06 GMT + Connection: + - keep-alive + X-Application-Context: + - application:stage + X-Content-Type-Options: + - nosniff + X-Xss-Protection: + - 1; mode=block + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Pragma: + - no-cache + Expires: + - '0' + X-Frame-Options: + - DENY body: encoding: UTF-8 string: '{"users":[{"program_id":2412,"program_key":"TYP123","program_name":"Access Perks Demo","organization_id":2000896,"organization_key":"TYPDEMO","organization_name":"Access - Perks Demo","member_id":89738626,"member_key":"226872","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1084059,"cvt":"6fa6c66c4edc07b767f147a6e5fc614c20797ef0","postal_code":"84101","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true}],"members":[{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access + Perks Demo","member_id":101382957,"member_key":"227889","email":"cs@test.com","first_name":"CS","last_name":"TEST","reg_id":2177943,"cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","postal_code":"84101","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true,"points_balance":0}],"members":[{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access Perks Demo"},"program":{"program_id":2412,"program_key":"TYP123","name":"Access - Perks Demo","provisioning_method":"SHARED_SECRET"},"member":{"member_id":89738626,"member_key":"226872","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","cvt":"6fa6c66c4edc07b767f147a6e5fc614c20797ef0","postal_code":"84101"},"user":{"email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1084059,"roles":[],"has_password":true,"password_expired":false}}]}' + Perks Demo","provisioning_method":"SHARED_SECRET","travel":{"enabled":true,"provider":{"name":"ACCESS_TRAVEL_PLATFORM","points_enabled":false}}},"member":{"member_id":101382957,"member_key":"227889","email":"cs@test.com","first_name":"CS","last_name":"TEST","cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","postal_code":"84101","points_balance":0},"user":{"email":"cs@test.com","first_name":"CS","last_name":"TEST","reg_id":2177943,"roles":[],"has_password":true,"password_expired":false,"user_id":308718268,"account_enabled":true,"account_locked":false,"account_validated":true},"active_license":{"end_dts":"2022-06-29T05:59:59.000+0000"}}]}' http_version: - recorded_at: Tue, 23 Feb 2016 17:30:07 GMT -recorded_with: VCR 3.0.1 + recorded_at: Sun, 01 Jul 2018 04:23:25 GMT +recorded_with: VCR 4.0.0