22#include <xrpl/protocol/jss.h>
33 using namespace test::jtx;
38 BEAST_EXPECT(env.app().config().standalone());
40 auto const result = env.rpc(
"json",
"connect",
"{}");
41 BEAST_EXPECT(result[jss::result][jss::status] ==
"error");
42 BEAST_EXPECT(result[jss::result].isMember(jss::error));
43 BEAST_EXPECT(result[jss::result][jss::error] ==
"notSynced");
45 result[jss::result][jss::error_message] ==
46 "Not synced to the network.");
testcase_t testcase
Memberspace for declaring test cases.
void run() override
Runs the suite.
A transaction testing environment.
Set the expected result code for a JTx The test will fail if the code doesn't match.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.