mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 03:35:55 +00:00
Add the missing input check for "diff" field of "ledger" (#643)
Fixes #644
This commit is contained in:
@@ -152,6 +152,12 @@ generateTestValuesForParametersTest()
|
||||
"invalidParams",
|
||||
"Invalid parameters.",
|
||||
},
|
||||
{
|
||||
"DiffNotBool",
|
||||
R"({"diff": "x"})",
|
||||
"invalidParams",
|
||||
"Invalid parameters.",
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user