Update unit tests after renaming

This commit is contained in:
TeoV
2020-04-29 17:59:41 +03:00
committed by Dan Christian Bogos
parent 7c1157f394
commit d683ab48fb
20 changed files with 731 additions and 731 deletions

View File

@@ -992,7 +992,7 @@ func TestInitAttrReloadCache(t *testing.T) {
expected.ThresholdIDs = &[]string{}
expected.ThresholdProfileIDs = &[]string{}
expected.FilterIDs = &[]string{}
expected.SupplierProfileIDs = &[]string{}
expected.RouteProfileIDs = &[]string{}
expected.AttributeProfileIDs = &[]string{}
expected.ChargerProfileIDs = &[]string{}
expected.DispatcherProfileIDs = &[]string{}

View File

@@ -101,7 +101,7 @@ func TestCGREventFielAsString(t *testing.T) {
}
func TestLibSuppliersUsage(t *testing.T) {
func TestLibRoutesUsage(t *testing.T) {
se := &CGREvent{
Tenant: "cgrates.org",
ID: "supplierEvent1",
@@ -328,7 +328,7 @@ func TestCGREventconsumeArgDispatcher(t *testing.T) {
}
}
func TestCGREventconsumeSupplierPaginator(t *testing.T) {
func TestCGREventconsumeRoutePaginator(t *testing.T) {
//empty check
var opts map[string]interface{}
rcv, err := getSupplierPaginatorFromOpts(opts)
@@ -440,8 +440,8 @@ func TestCGREventConsumeArgs(t *testing.T) {
}
//true false
eOut = ExtractedArgs{
ArgDispatcher: new(ArgDispatcher),
SupplierPaginator: nil,
ArgDispatcher: new(ArgDispatcher),
RoutePaginator: nil,
}
rcv, err = ExtractArgsFromOpts(opts, true, false)
if err != nil {