mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
Update unit tests after renaming
This commit is contained in:
committed by
Dan Christian Bogos
parent
7c1157f394
commit
d683ab48fb
@@ -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{}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user