mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 17:18:44 +05:00
Update tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
468b335ba6
commit
cc467eb484
@@ -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{
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user