Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] l10n_nl_kvk: adapt tsts to changed demo data #412

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

hbrunn
Copy link
Member

@hbrunn hbrunn commented Mar 19, 2024

turns out the tests call KVK's test environment, and the test environment has changed the values being returned slightly.

Verify with

curl -X 'GET' 'https://developers.kvk.nl/test/api/v1/zoeken?kvkNummer=68727720&pagina=1&aantal=10' -H 'accept: application/hal+json'

curl -X 'GET' 'https://developers.kvk.nl/test/api/v1/zoeken?kvkNummer=90004760&pagina=1&aantal=10' -H 'accept: application/hal+json'

Now the right thing to do would be to mock.patch away those calls of course, but as of https://developers.kvk.nl/nl/documentation/testing the v1 api this addon uses will be retired by July 29th, so I'd find it a little bit pointless to do so now. By that date we should deactivate this addon anyways if nobody ports it to the v2 api meanwhile.

@hbrunn hbrunn force-pushed the 12.0-l10n_nl_kvk-fix_tests branch from 7acc3bf to 2711155 Compare March 19, 2024 21:16
@thomaspaulb
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 12.0-ocabot-merge-pr-412-by-thomaspaulb-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 35d7eb8 into OCA:12.0 Mar 19, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 7848b0c. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants