diff --git a/dispatchers/replicator_it_test.go b/dispatchers/replicator_it_test.go index dbac43772..e693906bc 100644 --- a/dispatchers/replicator_it_test.go +++ b/dispatchers/replicator_it_test.go @@ -2481,16 +2481,3 @@ func TestDspReplicatorSv1SetThresholdProfileErrorNil(t *testing.T) { t.Errorf("\nExpected <%+v>, \nReceived <%+v>", expected, result) } } - -func TestDspReplicatorSv1SetThresholdProfileNilEvent(t *testing.T) { - cgrCfg := config.NewDefaultCGRConfig() - dspSrv := NewDispatcherService(nil, cgrCfg, nil, nil) - cgrCfg.DispatcherSCfg().AttributeSConns = []string{"test"} - var CGREvent *engine.ThresholdProfileWithAPIOpts - var reply *string - result := dspSrv.ReplicatorSv1SetThresholdProfile(CGREvent, reply) - expected := "MANDATORY_IE_MISSING: [ApiKey]" - if result == nil || result.Error() != expected { - t.Errorf("\nExpected <%+v>, \nReceived <%+v>", expected, result) - } -}