mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
By eescfg, covered loadercfg from my upper comit to 100%
This commit is contained in:
committed by
Dan Christian Bogos
parent
ae8eadb59c
commit
a69826cb72
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user