Update tests

This commit is contained in:
ionutboangiu
2022-06-30 15:54:45 +03:00
committed by Dan Christian Bogos
parent 468b335ba6
commit cc467eb484
8 changed files with 273 additions and 27 deletions

View File

@@ -284,6 +284,11 @@ func testLoadItCheckAttributes(t *testing.T) {
Value: config.NewRSRParsersMustCompile("CGRateS.org", utils.InfieldSep),
},
},
Blockers: utils.DynamicBlockers{
{
Blocker: false,
},
},
}
eAttrPrf.Weights = make(utils.DynamicWeights, 1)
eAttrPrf.Weights[0] = &utils.DynamicWeight{

View File

@@ -407,6 +407,11 @@ func testCgrLdrGetAttributeProfileAfterLoad(t *testing.T) {
Value: "Marketing",
},
},
Blockers: utils.DynamicBlockers{
{
Blocker: false,
},
},
}
var replyAttr *engine.APIAttributeProfile
if err := cgrLdrBIRPC.Call(context.Background(), utils.AdminSv1GetAttributeProfile,