Updated all filters after the latest changes

This commit is contained in:
Trial97
2019-03-06 16:52:43 +02:00
committed by Dan Christian Bogos
parent 4aadf61f14
commit 7433fad5b9
9 changed files with 34 additions and 74 deletions

View File

@@ -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),
},