File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
api/src/test/java/org/cardanofoundation/rosetta/api/block/service Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ void populateTransaction_populatesDelegations() {
199199 List <DelegationEntity > delegations = List .of (entity1 , entity2 );
200200
201201 when (transactionMapper .mapDelegationEntityToDelegation (entity1 ))
202- .thenReturn (new Delegation ());
202+ .thenReturn (new StakePoolDelegation ());
203203
204204 val transactionInfo = new LedgerBlockServiceImpl .TransactionInfo (
205205 Collections .emptyList (),
@@ -211,7 +211,7 @@ void populateTransaction_populatesDelegations() {
211211 );
212212
213213 ledgerBlockService .populateTransaction (transaction , transactionInfo , utxoMap );
214- assertThat (transaction .getDelegations ().size ()).isEqualTo (1 );
214+ assertThat (transaction .getStakePoolDelegations ().size ()).isEqualTo (1 );
215215 }
216216
217217 @ Test
You can’t perform that action at this time.
0 commit comments