Skip to content

Commit

Permalink
feat: RA-78 fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
shleger committed Apr 25, 2024
1 parent 82ff170 commit 8ae8556
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void getAccountBalanceWithStakeAddressAndNullBalanceThrowTest() {
AccountIdentifier accountIdentifier = getMockedAccountIdentifierAndMockAccountBalanceRequest(
accountBalanceRequest, blockIdentifier, accountAddress);
Block block = getMockBlock();
when(ledgerDataProviderService.findBlock(1L, HASH)).thenReturn(block);
when(ledgerBlockService.findBlock(1L, HASH)).thenReturn(block);
when(ledgerDataProviderService.findStakeAddressBalanceByAddressAndBlock(accountAddress, 1L))
.thenReturn(null);

Expand All @@ -232,7 +232,7 @@ void getAccountBalanceWithStakeAddressAndNullBalanceThrowTest() {

assertEquals(RosettaErrorType.INVALID_ADDRESS.getMessage(),
actualException.getError().getMessage());
verify(ledgerDataProviderService).findBlock(1L, HASH);
verify(ledgerBlockService).findBlock(1L, HASH);
verify(ledgerDataProviderService).findStakeAddressBalanceByAddressAndBlock(accountAddress, 1L);
verify(accountBalanceRequest).getAccountIdentifier();
verify(accountBalanceRequest).getBlockIdentifier();
Expand Down

0 comments on commit 8ae8556

Please sign in to comment.