Remove some "Env::close" noise from unit test output

This commit is contained in:
Scott Schurr
2021-03-12 18:14:39 -08:00
committed by manojsdoshi
parent 9eb9b8f631
commit 09ae9168ca
4 changed files with 19 additions and 9 deletions

View File

@@ -58,7 +58,9 @@ public:
Account const bob{std::string("bob") + std::to_string(i)};
env.fund(XRP(1000), bob);
}
env.close();
// Note that calls to env.close() fail without admin permission.
if (asAdmin)
env.close();
// with no limit specified, we get the max_limit if the total number of
// accounts is greater than max, which it is here
@@ -107,7 +109,6 @@ public:
Account const bob{std::string("bob") + std::to_string(i)};
env.fund(XRP(1000), bob);
}
env.close();
// with no limit specified, we should get all of our fund entries
// plus three more related to the gateway setup
@@ -212,7 +213,6 @@ public:
Account const bob{std::string("bob") + std::to_string(i)};
env.fund(XRP(1000), bob);
}
env.close();
// with no limit specified, we should get all of our fund entries
// plus three more related to the gateway setup