mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 14:19:54 +05:00
Removing TestDecimalMarshalUnmarshalJSONNil due to code change
This commit is contained in:
@@ -72,17 +72,3 @@ func TestDecimalMarshalUnmarshalJSON(t *testing.T) {
|
||||
t.Errorf("Expecting: %+v, received: %+v", expected, rcv)
|
||||
}
|
||||
}
|
||||
|
||||
func TestDecimalMarshalUnmarshalJSONNil(t *testing.T) {
|
||||
var a Decimal
|
||||
var b Decimal
|
||||
marshA, err := a.MarshalJSON()
|
||||
if err != nil {
|
||||
t.Errorf("Expecting: nil, received: %+v", marshA)
|
||||
}
|
||||
unmarshB := b.UnmarshalJSON(marshA)
|
||||
if unmarshB != nil {
|
||||
t.Errorf("Expecting: nil, received: %+v", unmarshB)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user