21#include <xrpl/protocol/jss.h>
32 using namespace test::jtx;
37 BEAST_EXPECT(env.app().config().standalone());
39 auto const result = env.rpc(
"json",
"connect",
"{}");
40 BEAST_EXPECT(result[jss::result][jss::status] ==
"error");
41 BEAST_EXPECT(result[jss::result].isMember(jss::error));
42 BEAST_EXPECT(result[jss::result][jss::error] ==
"notSynced");
44 result[jss::result][jss::error_message] ==
45 "Not synced to the network.");
57BEAST_DEFINE_TESTSUITE(Connect, rpc,
ripple);
testcase_t testcase
Memberspace for declaring test cases.
void run() override
Runs the suite.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.