-
Notifications
You must be signed in to change notification settings - Fork 925
RcodeZero Driver: fix issue when adding a record where a record with a different type already exists #2038
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
base: trunk
Are you sure you want to change the base?
Conversation
|
Could you please merge this documentation PR too? |
|
@MikeAT Thanks for the contribution. Would it be possible to add a unit test case for this fix? |
|
@MikeAT The documentation PR has been merged. It looks like the existing tests are failing. It would be great if you could look into that (you likely need to add mock response fixtures for v2 API responses and implement corresponding methods on the MockHttp class) and add a (regression) test case for a bug this PR is fixing. Thanks. |
|
Hi @Kami, sorry, I forgot to commit the API v2 tests. And I added the regression test for the fixed bug. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #2038 +/- ##
==========================================
- Coverage 83.35% 83.35% -0.00%
==========================================
Files 353 353
Lines 81848 81858 +10
Branches 8998 8999 +1
==========================================
+ Hits 68224 68232 +8
- Misses 10797 10798 +1
- Partials 2827 2828 +1
🚀 New features to boost your workflow:
|
RcodeZero: Bugfix when adding a record where a record with a different type already exists
Description
The RcodeZero driver generated broken API-Requests when adding records with different type (eg. adding an AAAA record to an existing A record). This PR fixes #2042:
Status
Done, ready for review
Checklist (tick everything that applies)