mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 03:35:55 +00:00
@@ -105,6 +105,22 @@ generateTestValuesForParametersTest()
|
||||
.called = 1,
|
||||
.isAdmin = !isAdmin,
|
||||
.expected = shouldForward},
|
||||
{.testName = "ShouldForwardReturnsTrueSimulate",
|
||||
.apiVersion = 1u,
|
||||
.method = "simulate",
|
||||
.testJson = "{}",
|
||||
.mockedIsClioOnly = !isClioOnly,
|
||||
.called = 1,
|
||||
.isAdmin = isAdmin,
|
||||
.expected = shouldForward},
|
||||
{.testName = "ShouldForwardReturnsTrueRipplePathFind",
|
||||
.apiVersion = 2u,
|
||||
.method = "ripple_path_find",
|
||||
.testJson = R"({"force_forward": true})",
|
||||
.mockedIsClioOnly = !isClioOnly,
|
||||
.called = 1,
|
||||
.isAdmin = isAdmin,
|
||||
.expected = shouldForward},
|
||||
{.testName = "ShouldForwardReturnsTrueIfCurrentLedgerSpecified",
|
||||
.apiVersion = 2u,
|
||||
.method = "anymethod",
|
||||
|
||||
Reference in New Issue
Block a user