mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
fix: account_objects returns error when filter does not make sense (#1579)
Fix #1488
This commit is contained in:
@@ -95,6 +95,12 @@ generateTestValuesForParametersTest()
|
||||
"invalidParams",
|
||||
"Invalid field 'type'."
|
||||
},
|
||||
AccountObjectsParamTestCaseBundle{
|
||||
"TypeNotAccountOwned",
|
||||
R"({"account":"rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", "type":"amendments"})",
|
||||
"invalidParams",
|
||||
"Invalid field 'type'."
|
||||
},
|
||||
AccountObjectsParamTestCaseBundle{
|
||||
"LedgerHashInvalid",
|
||||
R"({"account":"rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", "ledger_hash":"1"})",
|
||||
|
||||
Reference in New Issue
Block a user