From 7a48f002f0c8df9affd35bda22306dc4808d89ab Mon Sep 17 00:00:00 2001 From: Pavel Zbitskiy Date: Sat, 4 Jan 2025 21:45:16 -0500 Subject: [PATCH] move response tests to algod.unit --- src/test/java/com/algorand/algosdk/unit/AlgodResponses.java | 5 +++++ src/test/unit.tags | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/algorand/algosdk/unit/AlgodResponses.java b/src/test/java/com/algorand/algosdk/unit/AlgodResponses.java index 33800fb91..dcf9b0d79 100644 --- a/src/test/java/com/algorand/algosdk/unit/AlgodResponses.java +++ b/src/test/java/com/algorand/algosdk/unit/AlgodResponses.java @@ -139,6 +139,11 @@ public void the_parsed_Get_Block_response_should_have_rewards_pool(String string verifyResponse(blockResponse, shared.bodyFile); } + @Then("the parsed Get Block response should have heartbeat address {string}") + public void the_parsed_Get_Block_response_should_have_heartbeat_address(String string) throws IOException { + verifyResponse(blockResponse, shared.bodyFile); + } + @Then("the parsed Suggested Transaction Parameters response should have first round valid of {int}") public void the_parsed_Suggested_Transaction_Parameters_response_should_have_first_round_valid_of(Integer int1) throws IOException { verifyResponse(transactionParametersResponse, shared.bodyFile); diff --git a/src/test/unit.tags b/src/test/unit.tags index 5a56f4ae1..a3688039b 100644 --- a/src/test/unit.tags +++ b/src/test/unit.tags @@ -2,6 +2,8 @@ @unit.abijson.byname @unit.algod @unit.algod.ledger_refactoring +@unit.algod.heartbeat +@unit.algod.heartbeat.msgp @unit.applications @unit.applications.boxes @unit.atomic_transaction_composer @@ -36,8 +38,6 @@ @unit.stateproof.paths @unit.stateproof.responses @unit.stateproof.responses.msgp -@unit.heartbeat.responses -@unit.heartbeat.responses.msgp @unit.sync @unit.tealsign @unit.timestamp