mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-01 09:05:51 +00:00
@@ -82,6 +82,14 @@ generateTestValuesForParametersTest()
|
||||
"malformedAddress",
|
||||
"Malformed address."},
|
||||
|
||||
ParamTestCaseBundle{
|
||||
"InvalidDidFormat",
|
||||
R"({
|
||||
"did": "invalid"
|
||||
})",
|
||||
"malformedAddress",
|
||||
"Malformed address."},
|
||||
|
||||
ParamTestCaseBundle{
|
||||
"InvalidAccountRootNotString",
|
||||
R"({
|
||||
@@ -1041,6 +1049,17 @@ generateTestValuesForNormalPathTest()
|
||||
),
|
||||
ripple::keylet::account(GetAccountIDWithString(ACCOUNT)).key,
|
||||
CreateAccountRootObject(ACCOUNT, 0, 1, 1, 1, INDEX1, 1)},
|
||||
NormalPathTestBundle{
|
||||
"DID",
|
||||
fmt::format(
|
||||
R"({{
|
||||
"binary": true,
|
||||
"did": "{}"
|
||||
}})",
|
||||
ACCOUNT
|
||||
),
|
||||
ripple::keylet::did(GetAccountIDWithString(ACCOUNT)).key,
|
||||
CreateDidObject(ACCOUNT, "mydocument", "myURI", "mydata")},
|
||||
NormalPathTestBundle{
|
||||
"DirectoryViaDirRoot",
|
||||
fmt::format(
|
||||
|
||||
Reference in New Issue
Block a user