Remove invalid test
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user