mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update ActionS loding from CSV
This commit is contained in:
committed by
Dan Christian Bogos
parent
a82c3c5f83
commit
fd658aeb01
@@ -1491,44 +1491,39 @@ func TestLoadActionProfiles(t *testing.T) {
|
||||
},
|
||||
Actions: []*utils.TPAPAction{
|
||||
{
|
||||
ID: "TOPUP",
|
||||
FilterIDs: []string{},
|
||||
TTL: "0s",
|
||||
Type: "*topup",
|
||||
Path: "~*balance.TestBalance.Value",
|
||||
Value: "10",
|
||||
ID: "TOPUP",
|
||||
TTL: "0s",
|
||||
Type: "*topup",
|
||||
Path: "~*balance.TestBalance.Value",
|
||||
Value: "10",
|
||||
},
|
||||
{
|
||||
ID: "SET_BALANCE_TEST_DATA",
|
||||
FilterIDs: []string{},
|
||||
TTL: "0s",
|
||||
Type: "*set_balance",
|
||||
Path: "~*balance.TestDataBalance.Type",
|
||||
Value: "*data",
|
||||
ID: "SET_BALANCE_TEST_DATA",
|
||||
TTL: "0s",
|
||||
Type: "*set_balance",
|
||||
Path: "~*balance.TestDataBalance.Type",
|
||||
Value: "*data",
|
||||
},
|
||||
{
|
||||
ID: "TOPUP_TEST_DATA",
|
||||
FilterIDs: []string{},
|
||||
TTL: "0s",
|
||||
Type: "*topup",
|
||||
Path: "~*balance.TestDataBalance.Value",
|
||||
Value: "1024",
|
||||
ID: "TOPUP_TEST_DATA",
|
||||
TTL: "0s",
|
||||
Type: "*topup",
|
||||
Path: "~*balance.TestDataBalance.Value",
|
||||
Value: "1024",
|
||||
},
|
||||
{
|
||||
ID: "SET_BALANCE_TEST_VOICE",
|
||||
FilterIDs: []string{},
|
||||
TTL: "0s",
|
||||
Type: "*set_balance",
|
||||
Path: "~*balance.TestVoiceBalance.Type",
|
||||
Value: "*voice",
|
||||
ID: "SET_BALANCE_TEST_VOICE",
|
||||
TTL: "0s",
|
||||
Type: "*set_balance",
|
||||
Path: "~*balance.TestVoiceBalance.Type",
|
||||
Value: "*voice",
|
||||
},
|
||||
{
|
||||
ID: "TOPUP_TEST_VOICE",
|
||||
FilterIDs: []string{},
|
||||
TTL: "0s",
|
||||
Type: "*topup",
|
||||
Path: "~*balance.TestVoiceBalance.Value",
|
||||
Value: "15m15s",
|
||||
ID: "TOPUP_TEST_VOICE",
|
||||
TTL: "0s",
|
||||
Type: "*topup",
|
||||
Path: "~*balance.TestVoiceBalance.Value",
|
||||
Value: "15m15s",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user