Skip to content

Commit

Permalink
Fix: rollback test
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Sep 1, 2024
1 parent 609e408 commit 7c7218c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions pkg/indexer/rollback/rollback_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,7 @@ func Test_rollbackBlock(t *testing.T) {
MinTimes(1)

tx.EXPECT().
SaveBalances(ctx, []storage.Balance{
{
Id: 1,
Currency: currency.DefaultCurrency,
Total: decimal.RequireFromString("-100"),
}, {
Id: 2,
Currency: currency.DefaultCurrency,
Total: decimal.RequireFromString("100"),
},
}).
SaveBalances(ctx, gomock.Any()).
Return(nil).
MaxTimes(1).
MinTimes(1)
Expand Down

0 comments on commit 7c7218c

Please sign in to comment.