diff --git a/services/ees_it_test.go b/services/ees_it_test.go index be90e9b0b..b51d34368 100644 --- a/services/ees_it_test.go +++ b/services/ees_it_test.go @@ -71,6 +71,15 @@ func TestEventExporterSReload(t *testing.T) { if ees.IsRunning() { t.Errorf("Expected service to be down") } + fcTmp := &config.FCTemplate{Tag: "TenantID", + Path: "Tenant", + Type: utils.MetaVariable, + Value: config.NewRSRParsersMustCompile("~*req.0", utils.INFIELD_SEP), + Mandatory: true, + Layout: time.RFC3339, + } + fcTmp.ComputePath() + cfg.TemplateCfg()["requiredFields"] = []*config.FCTemplate{fcTmp} var reply string if err := cfg.V1ReloadConfigFromPath(&config.ConfigReloadWithOpts{ Path: path.Join("/usr", "share", "cgrates", "conf", "samples", "ees"),