mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Fixed tests for path sanitizations + new cases in config sanity
This commit is contained in:
committed by
Dan Christian Bogos
parent
6fd108c083
commit
57d2500a96
@@ -181,7 +181,7 @@ func testResITMigrateAndMove(t *testing.T) {
|
||||
resPrfl := &engine.ResourceProfile{
|
||||
Tenant: "cgrates.org",
|
||||
ID: "RES1",
|
||||
FilterIDs: []string{"*string:~Account:1001"},
|
||||
FilterIDs: []string{"*string:~*opts.Account:1001"},
|
||||
UsageTTL: time.Second,
|
||||
Limit: 1,
|
||||
Weight: 10,
|
||||
|
||||
@@ -180,7 +180,7 @@ func testSupITMigrateAndMove(t *testing.T) {
|
||||
supPrfl := &engine.RouteProfile{
|
||||
Tenant: "cgrates.org",
|
||||
ID: "SUP1",
|
||||
FilterIDs: []string{"*string:~Account:1001"},
|
||||
FilterIDs: []string{"*string:~*opts.Account:1001"},
|
||||
Weight: 10,
|
||||
Sorting: utils.MetaQOS,
|
||||
SortingParameters: []string{},
|
||||
|
||||
@@ -126,7 +126,7 @@ func testUsrITMigrateAndMove(t *testing.T) {
|
||||
Tenant: defaultTenant,
|
||||
ID: "1001",
|
||||
Contexts: []string{utils.MetaAny},
|
||||
FilterIDs: []string{"*string:~Account:1002"},
|
||||
FilterIDs: []string{"*string:~*req.Account:1002"},
|
||||
ActivationInterval: nil,
|
||||
Attributes: []*engine.Attribute{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user