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

@@ -227,7 +227,7 @@ class NegativeUNL_test : public beast::unit_test::suite
testcase("Create UNLModify Tx and apply to ledgers");
jtx::Env env(*this, jtx::supported_amendments() | featureNegativeUNL);
jtx::Env env(*this, jtx::testable_amendments() | featureNegativeUNL);
std::vector<PublicKey> publicKeys = createPublicKeys(3);
// genesis ledger
auto l = std::make_shared<Ledger>(
@@ -526,7 +526,7 @@ class NegativeUNLNoAmendment_test : public beast::unit_test::suite
{
testcase("No negative UNL amendment");
jtx::Env env(*this, jtx::supported_amendments() - featureNegativeUNL);
jtx::Env env(*this, jtx::testable_amendments() - featureNegativeUNL);
std::vector<PublicKey> publicKeys = createPublicKeys(1);
// genesis ledger
auto l = std::make_shared<Ledger>(
@@ -582,7 +582,7 @@ struct NetworkHistory
};
NetworkHistory(beast::unit_test::suite& suite, Parameter const& p)
: env(suite, jtx::supported_amendments() | featureNegativeUNL)
: env(suite, jtx::testable_amendments() | featureNegativeUNL)
, param(p)
, validations(env.app().getValidations())
{