mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-23 05:05:54 +00:00
Use clamp modifier on limit field instead of between validator (#752)
Fixes #751
This commit is contained in:
@@ -106,16 +106,6 @@ generateTestValuesForParametersTest()
|
||||
R"({"account":"rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", "limit":"1"})",
|
||||
"invalidParams",
|
||||
"Invalid parameters."},
|
||||
AccountObjectsParamTestCaseBundle{
|
||||
"LimitLargerThanMax",
|
||||
R"({"account":"rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", "limit":401})",
|
||||
"invalidParams",
|
||||
"Invalid parameters."},
|
||||
AccountObjectsParamTestCaseBundle{
|
||||
"LimitLessThanMin",
|
||||
R"({"account":"rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", "limit":9})",
|
||||
"invalidParams",
|
||||
"Invalid parameters."},
|
||||
AccountObjectsParamTestCaseBundle{
|
||||
"MarkerNotString",
|
||||
R"({"account":"rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", "marker":9})",
|
||||
|
||||
Reference in New Issue
Block a user