mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
improving coverage tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
d795283c20
commit
c2a5259f75
@@ -133,6 +133,8 @@ func TestFieldAsInterfaceObjDPValid1(t *testing.T) {
|
||||
t.Error(err)
|
||||
} else if rcv != 1 {
|
||||
t.Errorf("Expected %+v, received %+v", 1, rcv)
|
||||
} else if _, err = objDp.FieldAsInterface([]string{"val"}); err == nil && err != utils.ErrNotFound {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user