Skip to content

Commit bf2e650

Browse files
committed
chore(cassettes): record cassettes for auto-sync tests
1 parent 6ca7ae8 commit bf2e650

1 file changed

Lines changed: 288 additions & 0 deletions

File tree

Lines changed: 288 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,288 @@
1+
interactions:
2+
- request:
3+
body: null
4+
headers:
5+
Accept:
6+
- application/json
7+
Accept-Encoding:
8+
- br, gzip, deflate
9+
X-GDC-VALIDATE-RELATIONS:
10+
- 'true'
11+
X-Requested-With:
12+
- XMLHttpRequest
13+
method: GET
14+
uri: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings?page=0&size=500
15+
response:
16+
body:
17+
string:
18+
data: []
19+
links:
20+
next: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings?page=1&size=500
21+
self: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings?page=0&size=500
22+
headers:
23+
Content-Type:
24+
- application/json
25+
DATE: &id001
26+
- PLACEHOLDER
27+
Expires:
28+
- '0'
29+
Pragma:
30+
- no-cache
31+
X-Content-Type-Options:
32+
- nosniff
33+
X-GDC-TRACE-ID: *id001
34+
status:
35+
code: 200
36+
message: OK
37+
- request:
38+
body:
39+
data:
40+
attributes:
41+
applicationName: my-app
42+
content:
43+
language: en
44+
theme: dark
45+
id: test-setting-1
46+
type: customUserApplicationSetting
47+
headers:
48+
Accept:
49+
- application/json
50+
Accept-Encoding:
51+
- br, gzip, deflate
52+
Content-Type:
53+
- application/json
54+
X-GDC-VALIDATE-RELATIONS:
55+
- 'true'
56+
X-Requested-With:
57+
- XMLHttpRequest
58+
method: POST
59+
uri: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings
60+
response:
61+
body:
62+
string:
63+
data:
64+
attributes:
65+
applicationName: my-app
66+
content:
67+
language: en
68+
theme: dark
69+
id: test-setting-1
70+
type: customUserApplicationSetting
71+
links:
72+
self: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings/test-setting-1
73+
headers:
74+
Content-Type:
75+
- application/json
76+
DATE: *id001
77+
Expires:
78+
- '0'
79+
Pragma:
80+
- no-cache
81+
X-Content-Type-Options:
82+
- nosniff
83+
X-GDC-TRACE-ID: *id001
84+
status:
85+
code: 201
86+
message: Created
87+
- request:
88+
body: null
89+
headers:
90+
Accept:
91+
- application/json
92+
Accept-Encoding:
93+
- br, gzip, deflate
94+
X-GDC-VALIDATE-RELATIONS:
95+
- 'true'
96+
X-Requested-With:
97+
- XMLHttpRequest
98+
method: GET
99+
uri: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings/test-setting-1
100+
response:
101+
body:
102+
string:
103+
data:
104+
attributes:
105+
applicationName: my-app
106+
content:
107+
language: en
108+
theme: dark
109+
id: test-setting-1
110+
type: customUserApplicationSetting
111+
links:
112+
self: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings/test-setting-1
113+
headers:
114+
Content-Type:
115+
- application/json
116+
DATE: *id001
117+
Expires:
118+
- '0'
119+
Pragma:
120+
- no-cache
121+
X-Content-Type-Options:
122+
- nosniff
123+
X-GDC-TRACE-ID: *id001
124+
status:
125+
code: 200
126+
message: OK
127+
- request:
128+
body: null
129+
headers:
130+
Accept:
131+
- application/json
132+
Accept-Encoding:
133+
- br, gzip, deflate
134+
X-GDC-VALIDATE-RELATIONS:
135+
- 'true'
136+
X-Requested-With:
137+
- XMLHttpRequest
138+
method: GET
139+
uri: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings?page=0&size=500
140+
response:
141+
body:
142+
string:
143+
data:
144+
- attributes:
145+
applicationName: my-app
146+
content:
147+
language: en
148+
theme: dark
149+
id: test-setting-1
150+
links:
151+
self: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings/test-setting-1
152+
type: customUserApplicationSetting
153+
links:
154+
next: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings?page=1&size=500
155+
self: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings?page=0&size=500
156+
headers:
157+
Content-Type:
158+
- application/json
159+
DATE: *id001
160+
Expires:
161+
- '0'
162+
Pragma:
163+
- no-cache
164+
X-Content-Type-Options:
165+
- nosniff
166+
X-GDC-TRACE-ID: *id001
167+
status:
168+
code: 200
169+
message: OK
170+
- request:
171+
body:
172+
data:
173+
attributes:
174+
applicationName: my-app
175+
content:
176+
language: fr
177+
theme: light
178+
id: test-setting-1
179+
type: customUserApplicationSetting
180+
headers:
181+
Accept:
182+
- application/json
183+
Accept-Encoding:
184+
- br, gzip, deflate
185+
Content-Type:
186+
- application/json
187+
X-GDC-VALIDATE-RELATIONS:
188+
- 'true'
189+
X-Requested-With:
190+
- XMLHttpRequest
191+
method: PUT
192+
uri: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings/test-setting-1
193+
response:
194+
body:
195+
string:
196+
data:
197+
attributes:
198+
applicationName: my-app
199+
content:
200+
language: fr
201+
theme: light
202+
id: test-setting-1
203+
type: customUserApplicationSetting
204+
links:
205+
self: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings/test-setting-1
206+
headers:
207+
Content-Type:
208+
- application/json
209+
DATE: *id001
210+
Expires:
211+
- '0'
212+
Pragma:
213+
- no-cache
214+
X-Content-Type-Options:
215+
- nosniff
216+
X-GDC-TRACE-ID: *id001
217+
status:
218+
code: 200
219+
message: OK
220+
- request:
221+
body: null
222+
headers:
223+
Accept:
224+
- application/json
225+
Accept-Encoding:
226+
- br, gzip, deflate
227+
X-GDC-VALIDATE-RELATIONS:
228+
- 'true'
229+
X-Requested-With:
230+
- XMLHttpRequest
231+
method: GET
232+
uri: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings/test-setting-1
233+
response:
234+
body:
235+
string:
236+
data:
237+
attributes:
238+
applicationName: my-app
239+
content:
240+
language: fr
241+
theme: light
242+
id: test-setting-1
243+
type: customUserApplicationSetting
244+
links:
245+
self: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings/test-setting-1
246+
headers:
247+
Content-Type:
248+
- application/json
249+
DATE: *id001
250+
Expires:
251+
- '0'
252+
Pragma:
253+
- no-cache
254+
X-Content-Type-Options:
255+
- nosniff
256+
X-GDC-TRACE-ID: *id001
257+
status:
258+
code: 200
259+
message: OK
260+
- request:
261+
body: null
262+
headers:
263+
Accept-Encoding:
264+
- br, gzip, deflate
265+
X-GDC-VALIDATE-RELATIONS:
266+
- 'true'
267+
X-Requested-With:
268+
- XMLHttpRequest
269+
method: DELETE
270+
uri: http://localhost:3000/api/v1/entities/users/demo/customUserApplicationSettings/test-setting-1
271+
response:
272+
body:
273+
string: ''
274+
headers:
275+
Content-Type:
276+
- application/vnd.gooddata.api+json
277+
DATE: *id001
278+
Expires:
279+
- '0'
280+
Pragma:
281+
- no-cache
282+
X-Content-Type-Options:
283+
- nosniff
284+
X-GDC-TRACE-ID: *id001
285+
status:
286+
code: 204
287+
message: No Content
288+
version: 1

0 commit comments

Comments
 (0)