diff options
Diffstat (limited to 'tests/cassettes/test_admin_domain_blocks.yaml')
-rw-r--r-- | tests/cassettes/test_admin_domain_blocks.yaml | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/tests/cassettes/test_admin_domain_blocks.yaml b/tests/cassettes/test_admin_domain_blocks.yaml index 742a8b0..1eb2d4d 100644 --- a/tests/cassettes/test_admin_domain_blocks.yaml +++ b/tests/cassettes/test_admin_domain_blocks.yaml | |||
@@ -20,7 +20,7 @@ interactions: | |||
20 | uri: http://localhost:3000/api/v1/admin/domain_blocks/ | 20 | uri: http://localhost:3000/api/v1/admin/domain_blocks/ |
21 | response: | 21 | response: |
22 | body: | 22 | body: |
23 | string: '{"id":"8","domain":"https:chitter.xyz","created_at":"2022-11-25T22:59:08.008Z","severity":"suspend","reject_media":false,"reject_reports":false,"private_comment":null,"public_comment":"sicko | 23 | string: '{"id":"1","domain":"https:chitter.xyz","created_at":"2022-12-01T19:47:07.487Z","severity":"suspend","reject_media":false,"reject_reports":false,"private_comment":null,"public_comment":"sicko |
24 | behaviour","obfuscate":false}' | 24 | behaviour","obfuscate":false}' |
25 | headers: | 25 | headers: |
26 | Cache-Control: | 26 | Cache-Control: |
@@ -28,7 +28,7 @@ interactions: | |||
28 | Content-Security-Policy: | 28 | Content-Security-Policy: |
29 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 29 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
30 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 30 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
31 | style-src ''self'' http://localhost:3000 ''nonce-Imbtm+KUEpnqJvOJ45mutA==''; | 31 | style-src ''self'' http://localhost:3000 ''nonce-ovevMWr4+PndMg5gUez28A==''; |
32 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 32 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
33 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 33 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
34 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 34 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -38,7 +38,7 @@ interactions: | |||
38 | Content-Type: | 38 | Content-Type: |
39 | - application/json; charset=utf-8 | 39 | - application/json; charset=utf-8 |
40 | ETag: | 40 | ETag: |
41 | - W/"1db810d68fb2778f381897c8eb7c01b1" | 41 | - W/"15f09344135191e498be268d0cc22db2" |
42 | Referrer-Policy: | 42 | Referrer-Policy: |
43 | - strict-origin-when-cross-origin | 43 | - strict-origin-when-cross-origin |
44 | Transfer-Encoding: | 44 | Transfer-Encoding: |
@@ -54,9 +54,9 @@ interactions: | |||
54 | X-Permitted-Cross-Domain-Policies: | 54 | X-Permitted-Cross-Domain-Policies: |
55 | - none | 55 | - none |
56 | X-Request-Id: | 56 | X-Request-Id: |
57 | - 2411dfa5-38f0-4e57-942c-1cd2673fe831 | 57 | - 8f76fbb8-b9fb-4c42-81b4-a072a48041f7 |
58 | X-Runtime: | 58 | X-Runtime: |
59 | - '0.022290' | 59 | - '0.042749' |
60 | X-XSS-Protection: | 60 | X-XSS-Protection: |
61 | - 1; mode=block | 61 | - 1; mode=block |
62 | status: | 62 | status: |
@@ -79,7 +79,7 @@ interactions: | |||
79 | uri: http://localhost:3000/api/v1/admin/domain_blocks/ | 79 | uri: http://localhost:3000/api/v1/admin/domain_blocks/ |
80 | response: | 80 | response: |
81 | body: | 81 | body: |
82 | string: '[{"id":"8","domain":"https:chitter.xyz","created_at":"2022-11-25T22:59:08.008Z","severity":"suspend","reject_media":false,"reject_reports":false,"private_comment":null,"public_comment":"sicko | 82 | string: '[{"id":"1","domain":"https:chitter.xyz","created_at":"2022-12-01T19:47:07.487Z","severity":"suspend","reject_media":false,"reject_reports":false,"private_comment":null,"public_comment":"sicko |
83 | behaviour","obfuscate":false}]' | 83 | behaviour","obfuscate":false}]' |
84 | headers: | 84 | headers: |
85 | Cache-Control: | 85 | Cache-Control: |
@@ -87,7 +87,7 @@ interactions: | |||
87 | Content-Security-Policy: | 87 | Content-Security-Policy: |
88 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 88 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
89 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 89 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
90 | style-src ''self'' http://localhost:3000 ''nonce-cmboU6G0U/fNuxkj3razsg==''; | 90 | style-src ''self'' http://localhost:3000 ''nonce-KtRrfIkY4JgAmFRS7OdCNw==''; |
91 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 91 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
92 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 92 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
93 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 93 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -97,9 +97,9 @@ interactions: | |||
97 | Content-Type: | 97 | Content-Type: |
98 | - application/json; charset=utf-8 | 98 | - application/json; charset=utf-8 |
99 | ETag: | 99 | ETag: |
100 | - W/"e807730146b189a5a31148fb29e433da" | 100 | - W/"fca595de8d8ea99b5b94181273305f12" |
101 | Link: | 101 | Link: |
102 | - <http://localhost:3000/api/v1/admin/domain_blocks?min_id=8>; rel="prev" | 102 | - <http://localhost:3000/api/v1/admin/domain_blocks?min_id=1>; rel="prev" |
103 | Referrer-Policy: | 103 | Referrer-Policy: |
104 | - strict-origin-when-cross-origin | 104 | - strict-origin-when-cross-origin |
105 | Transfer-Encoding: | 105 | Transfer-Encoding: |
@@ -115,9 +115,9 @@ interactions: | |||
115 | X-Permitted-Cross-Domain-Policies: | 115 | X-Permitted-Cross-Domain-Policies: |
116 | - none | 116 | - none |
117 | X-Request-Id: | 117 | X-Request-Id: |
118 | - c5bb9784-47fc-4e9a-ab37-5bdcadfdccc2 | 118 | - 3e7265b0-145c-47cc-9191-3bd1396e724e |
119 | X-Runtime: | 119 | X-Runtime: |
120 | - '0.010368' | 120 | - '0.010536' |
121 | X-XSS-Protection: | 121 | X-XSS-Protection: |
122 | - 1; mode=block | 122 | - 1; mode=block |
123 | status: | 123 | status: |
@@ -137,10 +137,10 @@ interactions: | |||
137 | User-Agent: | 137 | User-Agent: |
138 | - tests/v311 | 138 | - tests/v311 |
139 | method: GET | 139 | method: GET |
140 | uri: http://localhost:3000/api/v1/admin/domain_blocks/8 | 140 | uri: http://localhost:3000/api/v1/admin/domain_blocks/1 |
141 | response: | 141 | response: |
142 | body: | 142 | body: |
143 | string: '{"id":"8","domain":"https:chitter.xyz","created_at":"2022-11-25T22:59:08.008Z","severity":"suspend","reject_media":false,"reject_reports":false,"private_comment":null,"public_comment":"sicko | 143 | string: '{"id":"1","domain":"https:chitter.xyz","created_at":"2022-12-01T19:47:07.487Z","severity":"suspend","reject_media":false,"reject_reports":false,"private_comment":null,"public_comment":"sicko |
144 | behaviour","obfuscate":false}' | 144 | behaviour","obfuscate":false}' |
145 | headers: | 145 | headers: |
146 | Cache-Control: | 146 | Cache-Control: |
@@ -148,7 +148,7 @@ interactions: | |||
148 | Content-Security-Policy: | 148 | Content-Security-Policy: |
149 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 149 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
150 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 150 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
151 | style-src ''self'' http://localhost:3000 ''nonce-y+xczE/ywMzzq9Ae5Shj3A==''; | 151 | style-src ''self'' http://localhost:3000 ''nonce-isQIHxjQuy038qo9HF1slw==''; |
152 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 152 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
153 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 153 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
154 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 154 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -158,7 +158,7 @@ interactions: | |||
158 | Content-Type: | 158 | Content-Type: |
159 | - application/json; charset=utf-8 | 159 | - application/json; charset=utf-8 |
160 | ETag: | 160 | ETag: |
161 | - W/"1db810d68fb2778f381897c8eb7c01b1" | 161 | - W/"15f09344135191e498be268d0cc22db2" |
162 | Referrer-Policy: | 162 | Referrer-Policy: |
163 | - strict-origin-when-cross-origin | 163 | - strict-origin-when-cross-origin |
164 | Transfer-Encoding: | 164 | Transfer-Encoding: |
@@ -174,9 +174,9 @@ interactions: | |||
174 | X-Permitted-Cross-Domain-Policies: | 174 | X-Permitted-Cross-Domain-Policies: |
175 | - none | 175 | - none |
176 | X-Request-Id: | 176 | X-Request-Id: |
177 | - ea5739bc-7ebd-40c8-9692-db2f4bbdbde4 | 177 | - 74f9ba15-8a7c-4b33-997c-b84b113610a2 |
178 | X-Runtime: | 178 | X-Runtime: |
179 | - '0.009239' | 179 | - '0.009563' |
180 | X-XSS-Protection: | 180 | X-XSS-Protection: |
181 | - 1; mode=block | 181 | - 1; mode=block |
182 | status: | 182 | status: |
@@ -200,10 +200,10 @@ interactions: | |||
200 | User-Agent: | 200 | User-Agent: |
201 | - tests/v311 | 201 | - tests/v311 |
202 | method: PUT | 202 | method: PUT |
203 | uri: http://localhost:3000/api/v1/admin/domain_blocks/8 | 203 | uri: http://localhost:3000/api/v1/admin/domain_blocks/1 |
204 | response: | 204 | response: |
205 | body: | 205 | body: |
206 | string: '{"id":"8","domain":"https:chitter.xyz","created_at":"2022-11-25T22:59:08.008Z","severity":"silence","reject_media":false,"reject_reports":false,"private_comment":"jk | 206 | string: '{"id":"1","domain":"https:chitter.xyz","created_at":"2022-12-01T19:47:07.487Z","severity":"silence","reject_media":false,"reject_reports":false,"private_comment":"jk |
207 | ilu \u003c3","public_comment":"sicko behaviour","obfuscate":false}' | 207 | ilu \u003c3","public_comment":"sicko behaviour","obfuscate":false}' |
208 | headers: | 208 | headers: |
209 | Cache-Control: | 209 | Cache-Control: |
@@ -211,7 +211,7 @@ interactions: | |||
211 | Content-Security-Policy: | 211 | Content-Security-Policy: |
212 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 212 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
213 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 213 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
214 | style-src ''self'' http://localhost:3000 ''nonce-MH0zeyGASxwMnqSQO8XnVw==''; | 214 | style-src ''self'' http://localhost:3000 ''nonce-23YPkAU1O2YiIPZlt4WNpw==''; |
215 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 215 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
216 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 216 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
217 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 217 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -221,7 +221,7 @@ interactions: | |||
221 | Content-Type: | 221 | Content-Type: |
222 | - application/json; charset=utf-8 | 222 | - application/json; charset=utf-8 |
223 | ETag: | 223 | ETag: |
224 | - W/"56e34924f74cdfe16875883a46f8959b" | 224 | - W/"286633d785ff8855e5deb1ca512a3397" |
225 | Referrer-Policy: | 225 | Referrer-Policy: |
226 | - strict-origin-when-cross-origin | 226 | - strict-origin-when-cross-origin |
227 | Transfer-Encoding: | 227 | Transfer-Encoding: |
@@ -237,9 +237,9 @@ interactions: | |||
237 | X-Permitted-Cross-Domain-Policies: | 237 | X-Permitted-Cross-Domain-Policies: |
238 | - none | 238 | - none |
239 | X-Request-Id: | 239 | X-Request-Id: |
240 | - cb8d039e-d10c-403d-a1e7-6e43c3ac3f6d | 240 | - 06c8c540-c681-4e53-9e2c-47a41f216e6b |
241 | X-Runtime: | 241 | X-Runtime: |
242 | - '0.019215' | 242 | - '0.018838' |
243 | X-XSS-Protection: | 243 | X-XSS-Protection: |
244 | - 1; mode=block | 244 | - 1; mode=block |
245 | status: | 245 | status: |
@@ -261,7 +261,7 @@ interactions: | |||
261 | User-Agent: | 261 | User-Agent: |
262 | - tests/v311 | 262 | - tests/v311 |
263 | method: DELETE | 263 | method: DELETE |
264 | uri: http://localhost:3000/api/v1/admin/domain_blocks/8 | 264 | uri: http://localhost:3000/api/v1/admin/domain_blocks/1 |
265 | response: | 265 | response: |
266 | body: | 266 | body: |
267 | string: '{}' | 267 | string: '{}' |
@@ -271,7 +271,7 @@ interactions: | |||
271 | Content-Security-Policy: | 271 | Content-Security-Policy: |
272 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 272 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
273 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 273 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
274 | style-src ''self'' http://localhost:3000 ''nonce-ICuLgest9NO+qhP7YVWYXw==''; | 274 | style-src ''self'' http://localhost:3000 ''nonce-k9v3ZcRSCVLXoJZ/unniPQ==''; |
275 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 275 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
276 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 276 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
277 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 277 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -297,9 +297,9 @@ interactions: | |||
297 | X-Permitted-Cross-Domain-Policies: | 297 | X-Permitted-Cross-Domain-Policies: |
298 | - none | 298 | - none |
299 | X-Request-Id: | 299 | X-Request-Id: |
300 | - 299ea94d-2646-42c4-8bde-def40fd3858a | 300 | - 59e64a3e-3ff2-4202-b3ae-c75a4bff4ab8 |
301 | X-Runtime: | 301 | X-Runtime: |
302 | - '0.017753' | 302 | - '0.027678' |
303 | X-XSS-Protection: | 303 | X-XSS-Protection: |
304 | - 1; mode=block | 304 | - 1; mode=block |
305 | status: | 305 | status: |
@@ -329,7 +329,7 @@ interactions: | |||
329 | Content-Security-Policy: | 329 | Content-Security-Policy: |
330 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 330 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
331 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 331 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
332 | style-src ''self'' http://localhost:3000 ''nonce-f4x2CzcoPSq9zb0LNrS1pA==''; | 332 | style-src ''self'' http://localhost:3000 ''nonce-1IpWHUarHXTZAIRD874fgw==''; |
333 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 333 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
334 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 334 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
335 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 335 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -355,9 +355,9 @@ interactions: | |||
355 | X-Permitted-Cross-Domain-Policies: | 355 | X-Permitted-Cross-Domain-Policies: |
356 | - none | 356 | - none |
357 | X-Request-Id: | 357 | X-Request-Id: |
358 | - 1f76071e-2199-4c73-8744-e1d87cadc4d7 | 358 | - 51f494d7-7826-4ee4-b828-ee72e8e080a1 |
359 | X-Runtime: | 359 | X-Runtime: |
360 | - '0.009019' | 360 | - '0.010892' |
361 | X-XSS-Protection: | 361 | X-XSS-Protection: |
362 | - 1; mode=block | 362 | - 1; mode=block |
363 | status: | 363 | status: |