From e3860938403f1647359e23144abd2db7de98ec7a Mon Sep 17 00:00:00 2001 From: Chenna Keshava Date: Thu, 26 Oct 2023 17:51:41 -0700 Subject: [PATCH] additional tests for Subscribe unit tests --- src/test/rpc/Subscribe_test.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/test/rpc/Subscribe_test.cpp b/src/test/rpc/Subscribe_test.cpp index bb419cbb4a1..ea815eb27ed 100644 --- a/src/test/rpc/Subscribe_test.cpp +++ b/src/test/rpc/Subscribe_test.cpp @@ -347,7 +347,12 @@ class Subscribe_test : public beast::unit_test::suite == Account("alice").human() && jv[jss::close_time_iso] // == "2000-01-01T00:00:10Z" && - jv[jss::validated] == true && // + jv[jss::validated] == true && // + jv[jss::ledger_hash] == + "0F1A9E0C109ADEF6DA2BDE19217C12BBEC57174CBDBD212B0EBDC1CEDB" + "853185" && // + !jv[jss::inLedger] && + jv[jss::ledger_index] == 3 && // jv[jss::tx_json][jss::TransactionType] // == jss::Payment && jv[jss::tx_json][jss::DeliverMax] //