test(operations): added more test for WithIdempotencyKey#1018
Conversation
Added test cases when idempotency key is used , it should be included in the report JIRA: https://smartcontract-it.atlassian.net/browse/CLD-2579
|
There was a problem hiding this comment.
Pull request overview
Adds focused JSON serialization tests for the IdempotencyKey field on operation reports, verifying it is present when set via WithIdempotencyKey and omitted otherwise.
Changes:
- New test
Test_ExecuteOperation_ReportJSON_IdempotencyKeywith two subtests covering presence and omission of theidempotencyKeyJSON field. - Adds
encoding/jsonimport.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|





Added test cases when idempotency key is used , it should be included in the report
JIRA: https://smartcontract-it.atlassian.net/browse/CLD-2579