test: Run unit tests regardless of 'Supported' amendment status (#5537)

This commit is contained in:
Vlad
2025-07-16 12:47:54 +01:00
committed by GitHub
parent c9135a63cd
commit 8bfaa7fe0a
66 changed files with 167 additions and 165 deletions

View File

@@ -32,7 +32,7 @@ public:
using namespace test::jtx;
testcase("Set regular key");
Env env{*this, supported_amendments() - fixMasterKeyAsRegularKey};
Env env{*this, testable_amendments() - fixMasterKeyAsRegularKey};
Account const alice("alice");
Account const bob("bob");
env.fund(XRP(10000), alice, bob);
@@ -72,7 +72,7 @@ public:
using namespace test::jtx;
testcase("Set regular key");
Env env{*this, supported_amendments() | fixMasterKeyAsRegularKey};
Env env{*this, testable_amendments() | fixMasterKeyAsRegularKey};
Account const alice("alice");
Account const bob("bob");
env.fund(XRP(10000), alice, bob);
@@ -109,7 +109,7 @@ public:
// See https://ripplelabs.atlassian.net/browse/RIPD-1721.
testcase(
"Set regular key to master key (before fixMasterKeyAsRegularKey)");
Env env{*this, supported_amendments() - fixMasterKeyAsRegularKey};
Env env{*this, testable_amendments() - fixMasterKeyAsRegularKey};
Account const alice("alice");
env.fund(XRP(10000), alice);
@@ -139,7 +139,7 @@ public:
testcase(
"Set regular key to master key (after fixMasterKeyAsRegularKey)");
Env env{*this, supported_amendments() | fixMasterKeyAsRegularKey};
Env env{*this, testable_amendments() | fixMasterKeyAsRegularKey};
Account const alice("alice");
env.fund(XRP(10000), alice);