mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 08:38:45 +05:00
Fixed wrong expected in test
This commit is contained in:
committed by
Dan Christian Bogos
parent
58de965fa5
commit
3b3567b5f6
@@ -2533,8 +2533,8 @@ func TestV1AccountsForEventProfileIgnoreFilters(t *testing.T) {
|
||||
rply3 := make([]*utils.Account, 0)
|
||||
if err := dm.SetAccount(context.Background(), accPrf, true); err != nil {
|
||||
t.Error(err)
|
||||
} else if err := accnts.V1AccountsForEvent(context.Background(), ev3, &rply3); err == nil || err.Error() != "received cannot convert field: 1s to bool" {
|
||||
t.Errorf("Expected %+v, received %+v", nil, err)
|
||||
} else if err := accnts.V1AccountsForEvent(context.Background(), ev3, &rply3); err == nil || err.Error() != "cannot convert field: 1s to bool" {
|
||||
t.Errorf("Expected %+v, received %+v", "cannot convert field: 1s to bool", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user