Remove invalid test

This commit is contained in:
2022-04-05 16:25:34 +00:00
parent 2feefea737
commit 4332a1537b
2 changed files with 3 additions and 23 deletions

View File

@ -83,14 +83,12 @@ func (h Handler) CheckAvailableBalance(ctx context.Context, t *testing.T, budget
firstOfNextMonth := time.Date(2022, 2, 1, 0, 0, 0, 0, loc)
data, err := h.prepareBudgeting(ctx, *budget, firstOfNextMonth, first)
if err != nil {
fmt.Println(err)
t.Fail()
t.Errorf("prepare budgeting: %s", err)
return
}
if data.AvailableBalance.GetFloat64() != -115170.56 {
fmt.Println("Available balance is wrong:")
t.Fail()
t.Errorf("available balance is wrong")
return
}
}