mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 15:18:44 +05:00
Updated all filters after the latest changes
This commit is contained in:
committed by
Dan Christian Bogos
parent
4aadf61f14
commit
7433fad5b9
@@ -1169,17 +1169,17 @@ func TestAttributeAttributeFilterIDs(t *testing.T) {
|
||||
},
|
||||
Attributes: []*Attribute{
|
||||
{
|
||||
FilterIDs: []string{"*string:PassField:Test"},
|
||||
FilterIDs: []string{"*string:~PassField:Test"},
|
||||
FieldName: "PassField",
|
||||
Substitute: config.NewRSRParsersMustCompile("Pass", true, utils.INFIELD_SEP),
|
||||
},
|
||||
{
|
||||
FilterIDs: []string{"*string:PassField:RandomValue"},
|
||||
FilterIDs: []string{"*string:~PassField:RandomValue"},
|
||||
FieldName: "NotPassField",
|
||||
Substitute: config.NewRSRParsersMustCompile("NotPass", true, utils.INFIELD_SEP),
|
||||
},
|
||||
{
|
||||
FilterIDs: []string{"*notexists:RandomField:"},
|
||||
FilterIDs: []string{"*notexists:~RandomField:"},
|
||||
FieldName: "RandomField",
|
||||
Substitute: config.NewRSRParsersMustCompile("RandomValue", true, utils.INFIELD_SEP),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user