Add 'oracle' to ledger object filter (#1264)

Fix #1265
This commit is contained in:
cyan317
2024-03-14 11:35:01 +00:00
committed by GitHub
parent c17cc37c1c
commit 010538d6fe
2 changed files with 26 additions and 24 deletions

View File

@@ -50,7 +50,8 @@ TEST(LedgerUtilsTests, LedgerObjectTypeList)
JS(bridge),
JS(xchain_owned_claim_id),
JS(xchain_owned_create_account_claim_id),
JS(did)
JS(did),
JS(oracle)
};
ASSERT_TRUE(std::size(typesList) == types.size());
EXPECT_TRUE(std::all_of(std::cbegin(typesList), std::cend(typesList), [&types](auto const& type) {