From f9a43f262cb42506872d0592f23c61cfb23df29f Mon Sep 17 00:00:00 2001 From: Richard Holland Date: Sun, 24 Sep 2023 20:49:27 +0000 Subject: [PATCH] more test cases fixes --- src/test/rpc/LedgerClosed_test.cpp | 3 +-- src/test/rpc/Subscribe_test.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/rpc/LedgerClosed_test.cpp b/src/test/rpc/LedgerClosed_test.cpp index 7569f347a..775df6ef0 100644 --- a/src/test/rpc/LedgerClosed_test.cpp +++ b/src/test/rpc/LedgerClosed_test.cpp @@ -53,8 +53,7 @@ public: lc_result = env.rpc("ledger_closed")[jss::result]; BEAST_EXPECT( lc_result[jss::ledger_hash] == - "21282D1B44C45ACBFFBF735D5862D2CA4B5F4874D286082684D9D987996A6E8F"); - std::cout << lc_result[jss::ledger_hash] << "\n"; + "E86DE7F3D7A4D9CE17EF7C8BA08A8F4D8F643B9552F0D895A31CDA78F541DE4E"); BEAST_EXPECT(lc_result[jss::ledger_index] == 3); } diff --git a/src/test/rpc/Subscribe_test.cpp b/src/test/rpc/Subscribe_test.cpp index 3bb0cce61..7a6f840fd 100644 --- a/src/test/rpc/Subscribe_test.cpp +++ b/src/test/rpc/Subscribe_test.cpp @@ -166,7 +166,7 @@ public: { using namespace std::chrono_literals; using namespace jtx; - Env env(*this); + Env env(*this, supported_amendments() - featureXahauGenesis); auto wsc = makeWSClient(env.app().config()); Json::Value stream;