mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 17:18:44 +05:00
Clean up DispatcherS
This commit is contained in:
committed by
Dan Christian Bogos
parent
e23759b4a8
commit
7db65ca62c
@@ -245,10 +245,6 @@ func TestFlagsWithParamsClone(t *testing.T) {
|
||||
if !reflect.DeepEqual(cln, fWp) {
|
||||
t.Errorf("Expecting: %+v, received: %+v", ToJSON(fWp), ToJSON(cln))
|
||||
}
|
||||
cln[MetaDispatchers] = FlagParams{}
|
||||
if _, has := fWp[MetaDispatchers]; has {
|
||||
t.Errorf("Expected clone to not modify the cloned")
|
||||
}
|
||||
cln[MetaThresholds][MetaIDs][0] = ""
|
||||
if fWp[MetaThresholds][MetaIDs][0] != "ID1" {
|
||||
t.Errorf("Expected clone to not modify the cloned")
|
||||
|
||||
Reference in New Issue
Block a user