From 30f314ecec9793e89f6eabb7eef62959c3de86ed Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Tue, 18 Jul 2023 15:13:20 +0300 Subject: [PATCH] Remove unused tapes --- ...=SearchPage404error&peaks=true_close.json5 | 95 ------------------ ...chPage404error&peaks=true_keep-alive.json5 | 99 ------------------- ...=SearchPage429error&peaks=true_close.json5 | 95 ------------------ ...chPage429error&peaks=true_keep-alive.json5 | 99 ------------------- .../images/q=querywithnoresults_close.json5 | 12 +-- 5 files changed, 6 insertions(+), 394 deletions(-) delete mode 100644 frontend/test/tapes/search/audio/q=SearchPage404error&peaks=true_close.json5 delete mode 100644 frontend/test/tapes/search/audio/q=SearchPage404error&peaks=true_keep-alive.json5 delete mode 100644 frontend/test/tapes/search/audio/q=SearchPage429error&peaks=true_close.json5 delete mode 100644 frontend/test/tapes/search/audio/q=SearchPage429error&peaks=true_keep-alive.json5 diff --git a/frontend/test/tapes/search/audio/q=SearchPage404error&peaks=true_close.json5 b/frontend/test/tapes/search/audio/q=SearchPage404error&peaks=true_close.json5 deleted file mode 100644 index 24f75c5899b..00000000000 --- a/frontend/test/tapes/search/audio/q=SearchPage404error&peaks=true_close.json5 +++ /dev/null @@ -1,95 +0,0 @@ -{ - meta: { - createdAt: '2023-07-10T06:54:31.443Z', - host: 'https://api.openverse.engineering', - resHumanReadable: true, - }, - req: { - headers: { - connection: 'close', - }, - url: '/v1/audio/?q=SearchPage404error&peaks=true', - method: 'GET', - body: '', - }, - res: { - status: 404, - headers: { - date: [ - 'Mon, 10 Jul 2023 06:54:32 GMT', - ], - 'content-type': [ - 'application/json', - ], - 'content-length': [ - '70', - ], - connection: [ - 'close', - ], - vary: [ - 'Accept, Authorization, origin', - ], - allow: [ - 'GET, HEAD, OPTIONS', - ], - 'x-ratelimit-limit-anon_burst': [ - '5/hour', - ], - 'x-ratelimit-available-anon_burst': [ - '4', - ], - 'x-ratelimit-limit-anon_sustained': [ - '100/day', - ], - 'x-ratelimit-available-anon_sustained': [ - '99', - ], - 'x-ratelimit-limit-anon_thumbnail': [ - '150/minute', - ], - 'x-ratelimit-available-anon_thumbnail': [ - '149', - ], - 'x-frame-options': [ - 'DENY', - ], - 'x-content-type-options': [ - 'nosniff', - ], - 'referrer-policy': [ - 'same-origin', - ], - 'cross-origin-opener-policy': [ - 'same-origin', - ], - 'cache-control': [ - 'max-age=14400', - ], - 'cf-cache-status': [ - 'MISS', - ], - 'last-modified': [ - 'Mon, 10 Jul 2023 06:54:32 GMT', - ], - 'accept-ranges': [ - 'bytes', - ], - 'strict-transport-security': [ - 'max-age=15552000; includeSubDomains; preload', - ], - server: [ - 'cloudflare', - ], - 'cf-ray': [ - '7e46e558af1e0534-OTP', - ], - 'alt-svc': [ - 'h3=":443"; ma=86400', - ], - }, - body: { - detail: 'Not found.', - }, - }, -} diff --git a/frontend/test/tapes/search/audio/q=SearchPage404error&peaks=true_keep-alive.json5 b/frontend/test/tapes/search/audio/q=SearchPage404error&peaks=true_keep-alive.json5 deleted file mode 100644 index 0c66fc03f49..00000000000 --- a/frontend/test/tapes/search/audio/q=SearchPage404error&peaks=true_keep-alive.json5 +++ /dev/null @@ -1,99 +0,0 @@ -{ - meta: { - createdAt: '2023-07-10T06:54:34.258Z', - host: 'https://api.openverse.engineering', - resHumanReadable: true, - resUncompressed: true, - }, - req: { - headers: { - connection: 'keep-alive', - }, - url: '/v1/audio/?q=SearchPage404error&peaks=true', - method: 'GET', - body: '', - }, - res: { - status: 404, - headers: { - date: [ - 'Mon, 10 Jul 2023 06:54:34 GMT', - ], - 'content-type': [ - 'application/json', - ], - 'transfer-encoding': [ - 'chunked', - ], - connection: [ - 'keep-alive', - ], - vary: [ - 'Accept, Authorization, origin, Accept-Encoding', - ], - allow: [ - 'GET, HEAD, OPTIONS', - ], - 'x-ratelimit-limit-anon_burst': [ - '5/hour', - ], - 'x-ratelimit-available-anon_burst': [ - '3', - ], - 'x-ratelimit-limit-anon_sustained': [ - '100/day', - ], - 'x-ratelimit-available-anon_sustained': [ - '98', - ], - 'x-ratelimit-limit-anon_thumbnail': [ - '150/minute', - ], - 'x-ratelimit-available-anon_thumbnail': [ - '148', - ], - 'x-frame-options': [ - 'DENY', - ], - 'x-content-type-options': [ - 'nosniff', - ], - 'referrer-policy': [ - 'same-origin', - ], - 'cross-origin-opener-policy': [ - 'same-origin', - ], - 'access-control-allow-origin': [ - '*', - ], - 'cache-control': [ - 'max-age=14400', - ], - 'cf-cache-status': [ - 'MISS', - ], - 'last-modified': [ - 'Mon, 10 Jul 2023 06:54:34 GMT', - ], - 'strict-transport-security': [ - 'max-age=15552000; includeSubDomains; preload', - ], - server: [ - 'cloudflare', - ], - 'cf-ray': [ - '7e46e56a1c840544-OTP', - ], - 'content-encoding': [ - 'br', - ], - 'alt-svc': [ - 'h3=":443"; ma=86400', - ], - }, - body: { - detail: 'Not found.', - }, - }, -} diff --git a/frontend/test/tapes/search/audio/q=SearchPage429error&peaks=true_close.json5 b/frontend/test/tapes/search/audio/q=SearchPage429error&peaks=true_close.json5 deleted file mode 100644 index 73ee9d36e14..00000000000 --- a/frontend/test/tapes/search/audio/q=SearchPage429error&peaks=true_close.json5 +++ /dev/null @@ -1,95 +0,0 @@ -{ - meta: { - createdAt: '2023-07-10T06:54:41.817Z', - host: 'https://api.openverse.engineering', - resHumanReadable: true, - }, - req: { - headers: { - connection: 'close', - }, - url: '/v1/audio/?q=SearchPage429error&peaks=true', - method: 'GET', - body: '', - }, - res: { - status: 429, - headers: { - date: [ - 'Mon, 10 Jul 2023 06:54:42 GMT', - ], - 'content-type': [ - 'application/json', - ], - 'content-length': [ - '70', - ], - connection: [ - 'close', - ], - vary: [ - 'Accept, Authorization, origin', - ], - allow: [ - 'GET, HEAD, OPTIONS', - ], - 'x-ratelimit-limit-anon_burst': [ - '5/hour', - ], - 'x-ratelimit-available-anon_burst': [ - '4', - ], - 'x-ratelimit-limit-anon_sustained': [ - '100/day', - ], - 'x-ratelimit-available-anon_sustained': [ - '99', - ], - 'x-ratelimit-limit-anon_thumbnail': [ - '150/minute', - ], - 'x-ratelimit-available-anon_thumbnail': [ - '149', - ], - 'x-frame-options': [ - 'DENY', - ], - 'x-content-type-options': [ - 'nosniff', - ], - 'referrer-policy': [ - 'same-origin', - ], - 'cross-origin-opener-policy': [ - 'same-origin', - ], - 'cache-control': [ - 'max-age=14400', - ], - 'cf-cache-status': [ - 'MISS', - ], - 'last-modified': [ - 'Mon, 10 Jul 2023 06:54:42 GMT', - ], - 'accept-ranges': [ - 'bytes', - ], - 'strict-transport-security': [ - 'max-age=15552000; includeSubDomains; preload', - ], - server: [ - 'cloudflare', - ], - 'cf-ray': [ - '7e46e5993e1d2870-OTP', - ], - 'alt-svc': [ - 'h3=":443"; ma=86400', - ], - }, - body: { - detail: 'Request was throttled. Expected available in 3600 seconds.', - }, - }, -} diff --git a/frontend/test/tapes/search/audio/q=SearchPage429error&peaks=true_keep-alive.json5 b/frontend/test/tapes/search/audio/q=SearchPage429error&peaks=true_keep-alive.json5 deleted file mode 100644 index e999f0373ca..00000000000 --- a/frontend/test/tapes/search/audio/q=SearchPage429error&peaks=true_keep-alive.json5 +++ /dev/null @@ -1,99 +0,0 @@ -{ - meta: { - createdAt: '2023-07-10T06:54:44.762Z', - host: 'https://api.openverse.engineering', - resHumanReadable: true, - resUncompressed: true, - }, - req: { - headers: { - connection: 'keep-alive', - }, - url: '/v1/audio/?q=SearchPage429error&peaks=true', - method: 'GET', - body: '', - }, - res: { - status: 429, - headers: { - date: [ - 'Mon, 10 Jul 2023 06:54:45 GMT', - ], - 'content-type': [ - 'application/json', - ], - 'transfer-encoding': [ - 'chunked', - ], - connection: [ - 'keep-alive', - ], - vary: [ - 'Accept, Authorization, origin, Accept-Encoding', - ], - allow: [ - 'GET, HEAD, OPTIONS', - ], - 'x-ratelimit-limit-anon_burst': [ - '5/hour', - ], - 'x-ratelimit-available-anon_burst': [ - '3', - ], - 'x-ratelimit-limit-anon_sustained': [ - '100/day', - ], - 'x-ratelimit-available-anon_sustained': [ - '98', - ], - 'x-ratelimit-limit-anon_thumbnail': [ - '150/minute', - ], - 'x-ratelimit-available-anon_thumbnail': [ - '148', - ], - 'x-frame-options': [ - 'DENY', - ], - 'x-content-type-options': [ - 'nosniff', - ], - 'referrer-policy': [ - 'same-origin', - ], - 'cross-origin-opener-policy': [ - 'same-origin', - ], - 'access-control-allow-origin': [ - '*', - ], - 'cache-control': [ - 'max-age=14400', - ], - 'cf-cache-status': [ - 'MISS', - ], - 'last-modified': [ - 'Mon, 10 Jul 2023 06:54:45 GMT', - ], - 'strict-transport-security': [ - 'max-age=15552000; includeSubDomains; preload', - ], - server: [ - 'cloudflare', - ], - 'cf-ray': [ - '7e46e5abb959b9e1-OTP', - ], - 'content-encoding': [ - 'br', - ], - 'alt-svc': [ - 'h3=":443"; ma=86400', - ], - }, - body: { - detail: 'Request was throttled. Expected available in 3600 seconds.', - }, - }, -} diff --git a/frontend/test/tapes/search/images/q=querywithnoresults_close.json5 b/frontend/test/tapes/search/images/q=querywithnoresults_close.json5 index a95a61670de..f5c1452122d 100644 --- a/frontend/test/tapes/search/images/q=querywithnoresults_close.json5 +++ b/frontend/test/tapes/search/images/q=querywithnoresults_close.json5 @@ -1,6 +1,6 @@ { meta: { - createdAt: '2023-07-17T15:35:18.912Z', + createdAt: '2023-07-10T06:54:31.443Z', host: 'https://api.openverse.engineering', resHumanReadable: true, }, @@ -16,7 +16,7 @@ status: 200, headers: { date: [ - 'Mon, 17 Jul 2023 15:35:19 GMT', + 'Mon, 10 Jul 2023 06:54:32 GMT', ], 'content-type': [ 'application/json', @@ -43,7 +43,7 @@ '100/day', ], 'x-ratelimit-available-anon_sustained': [ - '98', + '99', ], 'x-ratelimit-limit-anon_thumbnail': [ '150/minute', @@ -70,7 +70,7 @@ 'MISS', ], 'last-modified': [ - 'Mon, 17 Jul 2023 15:35:19 GMT', + 'Mon, 10 Jul 2023 06:54:32 GMT', ], 'accept-ranges': [ 'bytes', @@ -82,7 +82,7 @@ 'cloudflare', ], 'cf-ray': [ - '7e838dd91ee326f6-OTP', + '7e46e558af1e0534-OTP', ], 'alt-svc': [ 'h3=":443"; ma=86400', @@ -96,4 +96,4 @@ results: [], }, }, -} \ No newline at end of file +}