diff --git a/config/eescfg_test.go b/config/eescfg_test.go index 7e441f480..1efb0453f 100644 --- a/config/eescfg_test.go +++ b/config/eescfg_test.go @@ -1118,6 +1118,11 @@ func TestEEsCfgloadFromJsonCfgCase2(t *testing.T) { Value: utils.StringPointer("randomVal"), Layout: utils.StringPointer(time.RFC3339), }, + { + Path: utils.StringPointer("*req.CGRID"), + Type: utils.StringPointer(utils.MetaVariable), + Value: utils.StringPointer("1"), + }, }, }, }, @@ -1380,6 +1385,13 @@ func TestEEsCfgloadFromJsonCfgCase2(t *testing.T) { Value: NewRSRParsersMustCompile("~*req.CGRID", utils.INFIELD_SEP), Layout: time.RFC3339, }, + { + Tag: "*req.CGRID", + Path: "*req.CGRID", + Type: utils.MetaVariable, + Value: NewRSRParsersMustCompile("1", utils.INFIELD_SEP), + Layout: time.RFC3339, + }, }, }, },