mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated resources tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
5c558545bd
commit
a24f312727
@@ -1330,7 +1330,7 @@ func testV1FIdxCaSetResourceProfile(t *testing.T) {
|
||||
Blocker: true,
|
||||
Stored: true,
|
||||
Weight: 20,
|
||||
ThresholdIDs: []string{"Val1", "Val2"},
|
||||
ThresholdIDs: []string{utils.META_NONE},
|
||||
},
|
||||
}
|
||||
if err := tFIdxCaRpc.Call(utils.APIerSv1SetResourceProfile, rlsConfig, &result); err != nil {
|
||||
@@ -1465,7 +1465,7 @@ func testV1FIdxCaUpdateResourceProfile(t *testing.T) {
|
||||
Blocker: true,
|
||||
Stored: true,
|
||||
Weight: 20,
|
||||
ThresholdIDs: []string{"Val1", "Val2"},
|
||||
ThresholdIDs: []string{utils.META_NONE},
|
||||
},
|
||||
}
|
||||
if err := tFIdxCaRpc.Call(utils.APIerSv1SetResourceProfile,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#Tenant[0],Id[1],FilterIDs[2],ActivationInterval[3],TTL[4],Limit[5],AllocationMessage[6],Blocker[7],Stored[8],Weight[9],ThresholdIDs[10]
|
||||
cgrates.org,ResGroup1,FLTR_1,2014-07-29T15:00:00Z,1s,7,,false,false,20,
|
||||
cgrates.org,ResGroup2,FLTR_DST_FS,2014-07-29T15:00:00Z,3600s,8,SPECIAL_1002,false,true,10,
|
||||
cgrates.org,ResGroup3,FLTR_RES_GR3,2014-07-29T15:00:00Z,*unlimited,3,,true,false,20,
|
||||
cgrates.org,ResGroup1,FLTR_1,2014-07-29T15:00:00Z,1s,7,,false,false,20,*none
|
||||
cgrates.org,ResGroup2,FLTR_DST_FS,2014-07-29T15:00:00Z,3600s,8,SPECIAL_1002,false,true,10,*none
|
||||
cgrates.org,ResGroup3,FLTR_RES_GR3,2014-07-29T15:00:00Z,*unlimited,3,,true,false,20,*none
|
||||
|
||||
|
Reference in New Issue
Block a user