Add field name to output of invalidParams for OneOf (#906)

Fixes #901
This commit is contained in:
Alex Kremer
2023-10-09 13:26:54 +01:00
committed by GitHub
parent 91ad1ffc3b
commit f683b25f76
10 changed files with 20 additions and 48 deletions

View File

@@ -85,7 +85,7 @@ generateTestValuesForParametersTest()
"TypeInvalid",
R"({"account":"rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", "type":"wrong"})",
"invalidParams",
"Invalid parameters."},
"Invalid field 'type'."},
AccountObjectsParamTestCaseBundle{
"LedgerHashInvalid",
R"({"account":"rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", "ledger_hash":"1"})",