Eliminated profile from accounts from apiers in all tests

This commit is contained in:
porosnicuadrian
2021-04-08 15:40:18 +03:00
committed by Dan Christian Bogos
parent 07c10151a4
commit fb8c414773
25 changed files with 330 additions and 381 deletions

View File

@@ -40,7 +40,7 @@ func init() {
DestinationsCSVContent, TimingsCSVContent,
ResourcesCSVContent, StatsCSVContent, ThresholdsCSVContent, FiltersCSVContent,
RoutesCSVContent, AttributesCSVContent, ChargersCSVContent, DispatcherCSVContent,
DispatcherHostCSVContent, RateProfileCSVContent, ActionProfileCSVContent, AccountProfileCSVContent), testTPID, "", nil, nil, false)
DispatcherHostCSVContent, RateProfileCSVContent, ActionProfileCSVContent, AccountCSVContent), testTPID, "", nil, nil, false)
if err != nil {
log.Print("error when creating TpReader:", err)
}
@@ -900,7 +900,7 @@ func TestLoadAccount(t *testing.T) {
}
if len(csvr.accountProfiles) != 1 {
t.Fatalf("Failed to load ActionProfiles: %s", utils.ToJSON(csvr.actionProfiles))
t.Fatalf("Failed to load Accounts: %s", utils.ToJSON(csvr.actionProfiles))
}
accPrfKey := utils.TenantID{
Tenant: "cgrates.org",