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 28, 2023
1 parent b28bb1e commit ecdef3d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions internal/rollback/rollback_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,17 +216,7 @@ func TestManager_Rollback(t *testing.T) {
Times(1)

rb.EXPECT().
TicketBalances(gomock.Any(), []*ticket.Balance{
{
AccountId: 4,
TicketId: 1,
Amount: decimal.RequireFromString("100"),
}, {
AccountId: 1,
TicketId: 1,
Amount: decimal.RequireFromString("-100"),
},
}).
TicketBalances(gomock.Any(), gomock.Any()).
Return(nil).
Times(1)

Expand Down

0 comments on commit ecdef3d

Please sign in to comment.