fix: Support canonical names for type in account_objects (#2437)

Fix: https://github.com/XRPLF/clio/issues/2275

---------
Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com>
This commit is contained in:
emrearıyürek
2025-09-03 18:06:21 +02:00
committed by GitHub
parent 3a667f558c
commit 90ac03cae7
10 changed files with 307 additions and 124 deletions

View File

@@ -110,7 +110,7 @@ generateTestValuesForParametersTest()
.testName = "TypeNotString",
.testJson = R"JSON({"account": "rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", "type": 1})JSON",
.expectedError = "invalidParams",
.expectedErrorMessage = "Invalid parameters."
.expectedErrorMessage = "Invalid field 'type', not string."
},
AccountObjectsParamTestCaseBundle{
.testName = "TypeInvalid",