mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
test: Run unit tests regardless of 'Supported' amendment status (#5537)
This commit is contained in:
@@ -385,7 +385,7 @@ class Ticket_test : public beast::unit_test::suite
|
||||
testcase("Feature Not Enabled");
|
||||
|
||||
using namespace test::jtx;
|
||||
Env env{*this, supported_amendments() - featureTicketBatch};
|
||||
Env env{*this, testable_amendments() - featureTicketBatch};
|
||||
|
||||
env(ticket::create(env.master, 1), ter(temDISABLED));
|
||||
env.close();
|
||||
@@ -933,7 +933,7 @@ class Ticket_test : public beast::unit_test::suite
|
||||
// Try the test without featureTicketBatch enabled.
|
||||
using namespace test::jtx;
|
||||
{
|
||||
Env env{*this, supported_amendments() - featureTicketBatch};
|
||||
Env env{*this, testable_amendments() - featureTicketBatch};
|
||||
Account alice{"alice"};
|
||||
|
||||
env.fund(XRP(10000), alice);
|
||||
@@ -957,7 +957,7 @@ class Ticket_test : public beast::unit_test::suite
|
||||
}
|
||||
// Try the test with featureTicketBatch enabled.
|
||||
{
|
||||
Env env{*this, supported_amendments()};
|
||||
Env env{*this, testable_amendments()};
|
||||
Account alice{"alice"};
|
||||
|
||||
env.fund(XRP(10000), alice);
|
||||
|
||||
Reference in New Issue
Block a user