Enable the Beta RPC API (v2) for all unit tests: (#4573)

* Enable api_version 2, which is currently in beta. It is expected to be
  marked stable by the next stable release.
* This does not change any defaults.
* The only existing tests changed were one that set the same flag, which
  was now redundant, and a couple that tested versioning explicitly.
This commit is contained in:
Ed Hennis
2023-06-21 11:51:37 -07:00
committed by GitHub
parent 264280edd7
commit 71d7d67fa3
3 changed files with 17 additions and 7 deletions

View File

@@ -206,10 +206,7 @@ public:
testSignerListsApiVersion2()
{
using namespace jtx;
Env env{*this, envconfig([](std::unique_ptr<Config> c) {
c->loadFromString("\n[beta_rpc_api]\n1\n");
return c;
})};
Env env{*this};
Account const alice{"alice"};
env.fund(XRP(1000), alice);