Skip to content

Commit 9a1bf0f

Browse files
committed
Last cassette
1 parent 433afe1 commit 9a1bf0f

1 file changed

Lines changed: 41 additions & 41 deletions

File tree

tests/resources/cassettes/test_session_create.yaml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
interactions:
22
- request:
3-
body: '{"names": "Manuel", "first_surname": "Avalos", "second_surname": "Tovar",
4-
"date_of_birth": "1997-03-29", "state_of_birth": "DF", "country_of_birth": "MX",
5-
"gender": "male", "manual_curp": null}'
3+
body: '{"names": "Jos\u00e9", "first_surname": "L\u00f3pez", "second_surname":
4+
"Hern\u00e1ndez", "date_of_birth": "1966-06-06", "state_of_birth": "DF", "country_of_birth":
5+
"MX", "gender": "male", "manual_curp": null}'
66
headers:
77
Accept:
88
- '*/*'
@@ -13,7 +13,7 @@ interactions:
1313
Connection:
1414
- keep-alive
1515
Content-Length:
16-
- '193'
16+
- '209'
1717
Content-Type:
1818
- application/json
1919
User-Agent:
@@ -24,38 +24,38 @@ interactions:
2424
uri: https://sandbox.cuenca.com/curp_validations
2525
response:
2626
body:
27-
string: '{"id":"CVL-9esz7-RmaFtq5mdgU8ew","created_at":"2022-02-03T18:52:10.062590","names":"Manuel","first_surname":"Avalos","second_surname":"Tovar","date_of_birth":"1997-03-29","country_of_birth":"MX","state_of_birth":"DF","gender":"male","nationality":"MX","manual_curp":null,"calculated_curp":"AATM970329HDFVVN05","validated_curp":"AATM970329HDFVVN05","renapo_curp_match":true,"renapo_full_match":true}'
27+
string: "{\"id\":\"CV3ZZrphyVSPaGihGwWO8QJQ\",\"created_at\":\"2022-02-09T18:29:24.320854\",\"names\":\"Jos\xE9\",\"first_surname\":\"L\xF3pez\",\"second_surname\":\"Hern\xE1ndez\",\"date_of_birth\":\"1966-06-06\",\"country_of_birth\":\"MX\",\"state_of_birth\":\"DF\",\"gender\":\"male\",\"nationality\":\"MX\",\"manual_curp\":null,\"calculated_curp\":\"LOHJ660606HDFPRS02\",\"validated_curp\":\"LOHJ660606HDFPRS02\",\"renapo_curp_match\":true,\"renapo_full_match\":true}"
2828
headers:
2929
Connection:
3030
- keep-alive
3131
Content-Length:
32-
- '398'
32+
- '402'
3333
Content-Type:
3434
- application/json
3535
Date:
36-
- Thu, 03 Feb 2022 18:52:10 GMT
36+
- Wed, 09 Feb 2022 18:29:24 GMT
3737
X-Request-Time:
38-
- 'value: 0.894'
38+
- 'value: 0.179'
3939
x-amz-apigw-id:
40-
- M-qeFGlfiYcFw_g=
40+
- NSYwrGdkCYcF5Og=
4141
x-amzn-Remapped-Connection:
4242
- keep-alive
4343
x-amzn-Remapped-Content-Length:
44-
- '398'
44+
- '402'
4545
x-amzn-Remapped-Date:
46-
- Thu, 03 Feb 2022 18:52:10 GMT
46+
- Wed, 09 Feb 2022 18:29:24 GMT
4747
x-amzn-Remapped-Server:
4848
- nginx/1.20.2
4949
x-amzn-RequestId:
50-
- 231423a0-78e5-48c1-ab69-56859df862f2
50+
- 9b033a9b-3129-40a8-a366-66875c1b8e39
5151
status:
5252
code: 201
5353
message: Created
5454
- request:
55-
body: '{"curp": "AATM970329HDFVVN05", "phone_number": "+525559610838", "email_address":
56-
"manuel@cuenca.com", "profession": "employee", "address": {"street": "calle
57-
1", "ext_number": "2", "postal_code": "09900", "state": "DF", "country": "MX",
58-
"city": null, "int_number": "3"}}'
55+
body: '{"curp": "LOHJ660606HDFPRS02", "phone_number": "+525511223344", "email_address":
56+
"jose@test.com", "profession": "employee", "address": {"street": "calle 1",
57+
"ext_number": "2", "postal_code": "09900", "state": "DF", "country": "MX", "city":
58+
null, "int_number": "3"}}'
5959
headers:
6060
Accept:
6161
- '*/*'
@@ -66,7 +66,7 @@ interactions:
6666
Connection:
6767
- keep-alive
6868
Content-Length:
69-
- '269'
69+
- '265'
7070
Content-Type:
7171
- application/json
7272
User-Agent:
@@ -77,8 +77,8 @@ interactions:
7777
uri: https://sandbox.cuenca.com/users
7878
response:
7979
body:
80-
string: '{"id":"USTUj99uDHQAGbdzyabjyh7Q","identity_uri":"/identities/IDf7RuU4f7Tcm3yIC5GbwmQQ","created_at":"2022-02-03T18:52:11.247924","platform_id":"PTW68GgAc_QPmNCmgajmctLg","level":1,"updated_at":"2022-02-03T18:52:11.347344","phone_number":"+525559610838","email_address":"manuel@cuenca.com","profession":"employee","status":"active","terms_of_service":null,"blacklist_validation_status":"not_verified","address":{"street":"calle
81-
1","ext_number":"2","int_number":"3","postal_code":"09900","state":"DF","city":null,"country":"MX","created_at":"2022-02-03T18:52:11.247706"},"govt_id":null,"proof_of_address":null,"proof_of_life":null,"beneficiaries":null,"names":"Manuel","first_surname":"Avalos","second_surname":"Tovar","curp":"AATM970329HDFVVN05"}'
80+
string: "{\"id\":\"USz-lkjzCBTO2wFzR-FswiqA\",\"identity_uri\":\"/identities/IDKWLi_wUoTty6WXXg9xfKFQ\",\"created_at\":\"2022-02-09T18:29:24.685833\",\"updated_at\":\"2022-02-09T18:29:24.715958\",\"platform_id\":\"PTW68GgAc_QPmNCmgajmctLg\",\"level\":0,\"phone_number\":\"+525511223344\",\"email_address\":\"jose@test.com\",\"profession\":\"employee\",\"status\":\"active\",\"terms_of_service\":null,\"blacklist_validation_status\":\"not_verified\",\"address\":{\"street\":\"calle
81+
1\",\"ext_number\":\"2\",\"int_number\":\"3\",\"postal_code\":\"09900\",\"state\":\"DF\",\"city\":null,\"country\":\"MX\",\"created_at\":\"2022-02-09T18:29:24.685718\"},\"govt_id\":null,\"proof_of_address\":null,\"proof_of_life\":null,\"beneficiaries\":null,\"names\":\"Jos\xE9\",\"first_surname\":\"L\xF3pez\",\"second_surname\":\"Hern\xE1ndez\",\"curp\":\"LOHJ660606HDFPRS02\"}"
8282
headers:
8383
Connection:
8484
- keep-alive
@@ -87,26 +87,26 @@ interactions:
8787
Content-Type:
8888
- application/json
8989
Date:
90-
- Thu, 03 Feb 2022 18:52:11 GMT
90+
- Wed, 09 Feb 2022 18:29:25 GMT
9191
X-Request-Time:
92-
- 'value: 0.984'
92+
- 'value: 0.747'
9393
x-amz-apigw-id:
94-
- M-qePGk1iYcFjCQ=
94+
- NSYwvE85iYcF_CQ=
9595
x-amzn-Remapped-Connection:
9696
- keep-alive
9797
x-amzn-Remapped-Content-Length:
9898
- '745'
9999
x-amzn-Remapped-Date:
100-
- Thu, 03 Feb 2022 18:52:11 GMT
100+
- Wed, 09 Feb 2022 18:29:25 GMT
101101
x-amzn-Remapped-Server:
102102
- nginx/1.20.2
103103
x-amzn-RequestId:
104-
- 6071eabe-807d-4998-9ed3-74963ae2bba5
104+
- 4804d108-50e8-4dd9-a875-6af3137a8474
105105
status:
106106
code: 201
107107
message: Created
108108
- request:
109-
body: '{"user_id": "USTUj99uDHQAGbdzyabjyh7Q", "type": "session.registration",
109+
body: '{"user_id": "USz-lkjzCBTO2wFzR-FswiqA", "type": "session.registration",
110110
"success_url": "https://example.com/succeeded_registration", "failure_url":
111111
"https://example.com/failed_registration"}'
112112
headers:
@@ -130,7 +130,7 @@ interactions:
130130
uri: https://sandbox.cuenca.com/sessions
131131
response:
132132
body:
133-
string: '{"id":"SSSAFBcJ1USWOesBvo-VMtQw","created_at":"2022-02-03T18:52:12.202184","updated_at":"2022-02-03T18:52:12.202452","user_id":"USTUj99uDHQAGbdzyabjyh7Q","platform_id":"PTW68GgAc_QPmNCmgajmctLg","expires_at":"2022-02-03T19:02:12.202199","success_url":"https://example.com/succeeded_registration","failure_url":"https://example.com/failed_registration","type":"session.registration"}'
133+
string: '{"id":"SSNiy0wLFnRYG0jR12n8qJyA","created_at":"2022-02-09T18:29:25.694402","updated_at":"2022-02-09T18:29:25.694553","user_id":"USz-lkjzCBTO2wFzR-FswiqA","platform_id":"PTW68GgAc_QPmNCmgajmctLg","expires_at":"2022-02-09T18:39:25.694412","success_url":"https://example.com/succeeded_registration","failure_url":"https://example.com/failed_registration","type":"session.registration"}'
134134
headers:
135135
Connection:
136136
- keep-alive
@@ -139,21 +139,21 @@ interactions:
139139
Content-Type:
140140
- application/json
141141
Date:
142-
- Thu, 03 Feb 2022 18:52:12 GMT
142+
- Wed, 09 Feb 2022 18:29:25 GMT
143143
X-Request-Time:
144-
- 'value: 0.124'
144+
- 'value: 0.170'
145145
x-amz-apigw-id:
146-
- M-qebG7DiYcFmPg=
146+
- NSYw5EVlCYcF2Sg=
147147
x-amzn-Remapped-Connection:
148148
- keep-alive
149149
x-amzn-Remapped-Content-Length:
150150
- '382'
151151
x-amzn-Remapped-Date:
152-
- Thu, 03 Feb 2022 18:52:12 GMT
152+
- Wed, 09 Feb 2022 18:29:25 GMT
153153
x-amzn-Remapped-Server:
154154
- nginx/1.20.2
155155
x-amzn-RequestId:
156-
- 56d47756-45c3-4bea-ac6c-634282c4e721
156+
- abe06415-7324-4d27-96c2-bf5833967597
157157
status:
158158
code: 201
159159
message: Created
@@ -177,34 +177,34 @@ interactions:
177177
X-Cuenca-Api-Version:
178178
- '2020-03-19'
179179
method: PATCH
180-
uri: https://sandbox.cuenca.com/users/USTUj99uDHQAGbdzyabjyh7Q
180+
uri: https://sandbox.cuenca.com/users/USz-lkjzCBTO2wFzR-FswiqA
181181
response:
182182
body:
183-
string: '{"id":"USTUj99uDHQAGbdzyabjyh7Q","identity_uri":"/identities/IDf7RuU4f7Tcm3yIC5GbwmQQ","created_at":"2022-02-03T18:52:11.247000","platform_id":"PTW68GgAc_QPmNCmgajmctLg","level":1,"updated_at":"2022-02-03T18:52:12.643609","phone_number":"+525559610838","email_address":"manu@example.com","profession":"employee","status":"active","terms_of_service":null,"blacklist_validation_status":"not_verified","address":{"street":"calle
184-
1","ext_number":"2","int_number":"3","postal_code":"09900","state":"DF","city":null,"country":"MX","created_at":"2022-02-03T18:52:11.247000"},"govt_id":null,"proof_of_address":null,"proof_of_life":null,"beneficiaries":null,"names":"Manuel","first_surname":"Avalos","second_surname":"Tovar","curp":"AATM970329HDFVVN05"}'
183+
string: "{\"id\":\"USz-lkjzCBTO2wFzR-FswiqA\",\"identity_uri\":\"/identities/IDKWLi_wUoTty6WXXg9xfKFQ\",\"created_at\":\"2022-02-09T18:29:24.685000\",\"updated_at\":\"2022-02-09T18:29:25.958447\",\"platform_id\":\"PTW68GgAc_QPmNCmgajmctLg\",\"level\":0,\"phone_number\":\"+525511223344\",\"email_address\":\"manu@example.com\",\"profession\":\"employee\",\"status\":\"active\",\"terms_of_service\":null,\"blacklist_validation_status\":\"not_verified\",\"address\":{\"street\":\"calle
184+
1\",\"ext_number\":\"2\",\"int_number\":\"3\",\"postal_code\":\"09900\",\"state\":\"DF\",\"city\":null,\"country\":\"MX\",\"created_at\":\"2022-02-09T18:29:24.685000\"},\"govt_id\":null,\"proof_of_address\":null,\"proof_of_life\":null,\"beneficiaries\":null,\"names\":\"Jos\xE9\",\"first_surname\":\"L\xF3pez\",\"second_surname\":\"Hern\xE1ndez\",\"curp\":\"LOHJ660606HDFPRS02\"}"
185185
headers:
186186
Connection:
187187
- keep-alive
188188
Content-Length:
189-
- '744'
189+
- '748'
190190
Content-Type:
191191
- application/json
192192
Date:
193-
- Thu, 03 Feb 2022 18:52:12 GMT
193+
- Wed, 09 Feb 2022 18:29:26 GMT
194194
X-Request-Time:
195-
- 'value: 0.351'
195+
- 'value: 0.200'
196196
x-amz-apigw-id:
197-
- M-qedG_9iYcFWjQ=
197+
- NSYw8F5piYcFZbg=
198198
x-amzn-Remapped-Connection:
199199
- keep-alive
200200
x-amzn-Remapped-Content-Length:
201-
- '744'
201+
- '748'
202202
x-amzn-Remapped-Date:
203-
- Thu, 03 Feb 2022 18:52:12 GMT
203+
- Wed, 09 Feb 2022 18:29:26 GMT
204204
x-amzn-Remapped-Server:
205205
- nginx/1.20.2
206206
x-amzn-RequestId:
207-
- 571db903-4646-4268-a137-1bbe4b57a5e6
207+
- d4b85fcc-f94e-45a6-af87-695fd395df0c
208208
status:
209209
code: 200
210210
message: OK

0 commit comments

Comments
 (0)