Skip to content

Commit

Permalink
move response tests to algod.unit
Browse files Browse the repository at this point in the history
  • Loading branch information
algorandskiy committed Jan 5, 2025
1 parent abe81ff commit 7a48f00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/test/java/com/algorand/algosdk/unit/AlgodResponses.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/test/unit.tags
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7a48f00

Please sign in to comment.