Skip to content

Commit

Permalink
Enable api_version_2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Frassle committed Jun 9, 2021
1 parent ccb5af7 commit ccd0a94
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/test/rpc/AccountInfo_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@ class AccountInfo_test : public beast::unit_test::suite
testSignerListsApiVersion2()
{
using namespace jtx;
Env env(*this);
Env env{*this, envconfig([](std::unique_ptr<Config> c) {
c->loadFromString("\n[beta_rpc_api]\n1\n");
return c;
})};
Account const alice{"alice"};
env.fund(XRP(1000), alice);

Expand Down Expand Up @@ -714,8 +717,7 @@ class AccountInfo_test : public beast::unit_test::suite
{
testErrors();
testSignerLists();
// Disabled until api version 2 can be tested
// testSignerListsApiVersion2();
testSignerListsApiVersion2();
testSignerListsV2();
testSimpleGrpc();
testErrorsGrpc();
Expand Down

0 comments on commit ccd0a94

Please sign in to comment.