From ac00d29cef55394f1f3c445c0855a197780d526e Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Thu, 21 Mar 2024 15:02:13 +0100 Subject: [PATCH] :bento: [#4033] Re-generate KVK VCR test cassettes --- .github/ISSUE_TEMPLATE/prepare-release.md | 3 +- .../KVKProfilesClientTests.test_client.yaml | 14 +++++++++- ...VKProfilesClientTests.test_client_404.yaml | 14 +++++++++- ...VKProfilesClientTests.test_client_vve.yaml | 14 +++++++++- .../KVKSearchClientTests.test_client.yaml | 14 +++++++++- .../KVKSearchClientTests.test_client_404.yaml | 14 +++++++++- ...rTestCase.test_branchNumber_validator.yaml | 28 +++++++++++++++++-- ...atorTestCase.test_kvkNumber_validator.yaml | 28 +++++++++++++++++-- ...ValidatorTestCase.test_rsin_validator.yaml | 14 +++++++++- 9 files changed, 132 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/prepare-release.md b/.github/ISSUE_TEMPLATE/prepare-release.md index 0f38922025..8d9ebbb9c2 100644 --- a/.github/ISSUE_TEMPLATE/prepare-release.md +++ b/.github/ISSUE_TEMPLATE/prepare-release.md @@ -15,8 +15,9 @@ assignees: sergei-maertens - [ ] Haal Centraal BRP Personen bevragen - [ ] `src.soap.tests.test_client` - [ ] BRK (Kadaster) + - [ ] KVK - [ ] Ogone - - [ ] Objects API v2 + - [ ] Objects API (registration) - [ ] Release new SDK version - [ ] Correct SDK version pinned in `.sdk-release` - [ ] Check translations diff --git a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client.yaml b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client.yaml index 427e681d9e..995881e24a 100644 --- a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client.yaml +++ b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client.yaml @@ -29,20 +29,32 @@ interactions: headers: API-Version: - 1.4.1 + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '683' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/hal+json Date: - - Wed, 14 Feb 2024 13:38:15 GMT + - Thu, 21 Mar 2024 14:00:30 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: diff --git a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client_404.yaml b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client_404.yaml index e598c410d0..84251c88f2 100644 --- a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client_404.yaml +++ b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client_404.yaml @@ -21,20 +21,32 @@ interactions: string: '{"fout":[{"code":"IPD0005","omschrijving":"Op basis van het KVK-nummer 12345678 kan het product niet worden geleverd."}]}' headers: + Cache-Control: + - no-store Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '132' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/json Date: - - Wed, 14 Feb 2024 13:38:16 GMT + - Thu, 21 Mar 2024 14:00:30 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: diff --git a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client_vve.yaml b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client_vve.yaml index 5d9140867f..36cee2df56 100644 --- a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client_vve.yaml +++ b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKProfilesClientTests/KVKProfilesClientTests.test_client_vve.yaml @@ -26,20 +26,32 @@ interactions: headers: API-Version: - 1.4.1 + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '465' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/hal+json Date: - - Wed, 14 Feb 2024 13:38:16 GMT + - Thu, 21 Mar 2024 14:00:31 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: diff --git a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKSearchClientTests/KVKSearchClientTests.test_client.yaml b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKSearchClientTests/KVKSearchClientTests.test_client.yaml index 0bb7f2f0a8..eb2a5475ef 100644 --- a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKSearchClientTests/KVKSearchClientTests.test_client.yaml +++ b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKSearchClientTests/KVKSearchClientTests.test_client.yaml @@ -25,20 +25,32 @@ interactions: headers: API-Version: - 2.0.0 + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '357' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/hal+json Date: - - Wed, 14 Feb 2024 13:38:17 GMT + - Thu, 21 Mar 2024 14:00:31 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: diff --git a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKSearchClientTests/KVKSearchClientTests.test_client_404.yaml b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKSearchClientTests/KVKSearchClientTests.test_client_404.yaml index a34ef1bd9f..545e7b08b9 100644 --- a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKSearchClientTests/KVKSearchClientTests.test_client_404.yaml +++ b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KVKSearchClientTests/KVKSearchClientTests.test_client_404.yaml @@ -21,20 +21,32 @@ interactions: string: '{"fout":[{"code":"IPD5200","omschrijving":"Er zijn geen gegevens gevonden die voldoen aan de opgegeven zoekparameters."}]}' headers: + Cache-Control: + - no-store Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '127' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/json Date: - - Wed, 14 Feb 2024 13:38:17 GMT + - Thu, 21 Mar 2024 14:00:31 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: diff --git a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_branchNumber_validator.yaml b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_branchNumber_validator.yaml index 9002cd8baa..41d1afd7f1 100644 --- a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_branchNumber_validator.yaml +++ b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_branchNumber_validator.yaml @@ -23,20 +23,32 @@ interactions: headers: API-Version: - 2.0.0 + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '286' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/hal+json Date: - - Thu, 15 Feb 2024 12:53:17 GMT + - Thu, 21 Mar 2024 14:00:37 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: @@ -64,20 +76,32 @@ interactions: string: '{"fout":[{"code":"IPD5200","omschrijving":"Er zijn geen gegevens gevonden die voldoen aan de opgegeven zoekparameters."}]}' headers: + Cache-Control: + - no-store Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '127' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/json Date: - - Thu, 15 Feb 2024 12:53:17 GMT + - Thu, 21 Mar 2024 14:00:37 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: diff --git a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_kvkNumber_validator.yaml b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_kvkNumber_validator.yaml index a5b10fec83..07252c5b77 100644 --- a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_kvkNumber_validator.yaml +++ b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_kvkNumber_validator.yaml @@ -25,20 +25,32 @@ interactions: headers: API-Version: - 2.0.0 + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '357' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/hal+json Date: - - Thu, 15 Feb 2024 12:53:18 GMT + - Thu, 21 Mar 2024 14:00:37 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: @@ -66,20 +78,32 @@ interactions: string: '{"fout":[{"code":"IPD5200","omschrijving":"Er zijn geen gegevens gevonden die voldoen aan de opgegeven zoekparameters."}]}' headers: + Cache-Control: + - no-store Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '127' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/json Date: - - Thu, 15 Feb 2024 12:53:18 GMT + - Thu, 21 Mar 2024 14:00:37 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: diff --git a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_rsin_validator.yaml b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_rsin_validator.yaml index 84dd252281..c328b7cab2 100644 --- a/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_rsin_validator.yaml +++ b/src/openforms/contrib/kvk/tests/files/vcr_cassettes/KvKRemoteValidatorTestCase/KvKRemoteValidatorTestCase.test_rsin_validator.yaml @@ -21,20 +21,32 @@ interactions: string: '{"fout":[{"code":"IPD5200","omschrijving":"Er zijn geen gegevens gevonden die voldoen aan de opgegeven zoekparameters."}]}' headers: + Cache-Control: + - no-store Connection: - keep-alive Content-Encoding: - gzip Content-Length: - '127' + Content-Security-Policy: + - frame-ancestors 'none', default-src 'none' Content-Type: - application/json Date: - - Thu, 15 Feb 2024 12:53:19 GMT + - Thu, 21 Mar 2024 14:00:37 GMT + Feature-Policy: + - '''none''' Keep-Alive: - timeout=60 + Referrer-Policy: + - no-referrer Server: - unknown + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY strict-transport-security: - max-age=157680000 ; includeSubDomains status: