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.");
58BEAST_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.