From a24f312727494e646f7a7758e24b66ff1a2548d0 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Wed, 7 Oct 2020 08:49:10 +0300 Subject: [PATCH] Updated resources tests --- apier/v1/filterindexecache_it_test.go | 4 ++-- data/tariffplans/oldtutorial/Resources.csv | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apier/v1/filterindexecache_it_test.go b/apier/v1/filterindexecache_it_test.go index 02a423403..f8bc536ef 100644 --- a/apier/v1/filterindexecache_it_test.go +++ b/apier/v1/filterindexecache_it_test.go @@ -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, diff --git a/data/tariffplans/oldtutorial/Resources.csv b/data/tariffplans/oldtutorial/Resources.csv index 0f47b20a6..759ea55b0 100644 --- a/data/tariffplans/oldtutorial/Resources.csv +++ b/data/tariffplans/oldtutorial/Resources.csv @@ -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