Updated resources tests

This commit is contained in:
Trial97
2020-10-07 08:49:10 +03:00
committed by Dan Christian Bogos
parent 5c558545bd
commit a24f312727
2 changed files with 5 additions and 5 deletions

View File

@@ -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,

View File

@@ -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
1 #Tenant[0] Id[1] FilterIDs[2] ActivationInterval[3] TTL[4] Limit[5] AllocationMessage[6] Blocker[7] Stored[8] Weight[9] ThresholdIDs[10]
2 cgrates.org ResGroup1 FLTR_1 2014-07-29T15:00:00Z 1s 7 false false 20 *none
3 cgrates.org ResGroup2 FLTR_DST_FS 2014-07-29T15:00:00Z 3600s 8 SPECIAL_1002 false true 10 *none
4 cgrates.org ResGroup3 FLTR_RES_GR3 2014-07-29T15:00:00Z *unlimited 3 true false 20 *none