mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
Fixed integration test in engine and general_tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
a01afde795
commit
ea796ec9f9
@@ -26,6 +26,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/ericlagergren/decimal"
|
||||
|
||||
"github.com/cgrates/cgrates/config"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
)
|
||||
@@ -2329,7 +2331,9 @@ func testOnStorITAccountProfile(t *testing.T) {
|
||||
FilterIDs: []string{"FLTR_RES_GR2"},
|
||||
Weight: 10,
|
||||
Type: utils.VOICE,
|
||||
Units: utils.NewDecimal(3600, 0),
|
||||
Units: &utils.Decimal{
|
||||
new(decimal.Big).SetUint64(10),
|
||||
},
|
||||
Opts: map[string]interface{}{
|
||||
"key1": "val1",
|
||||
},
|
||||
|
||||
@@ -152,7 +152,7 @@ func testTutSMGCacheStats(t *testing.T) {
|
||||
expectedStats[utils.CacheAttributeProfiles].Items = 2
|
||||
expectedStats[utils.MetaDefault].Items = 1
|
||||
expectedStats[utils.CacheActionTriggers].Items = 1
|
||||
expectedStats[utils.CacheLoadIDs].Items = 32
|
||||
expectedStats[utils.CacheLoadIDs].Items = 33
|
||||
expectedStats[utils.CacheChargerProfiles].Items = 1
|
||||
expectedStats[utils.CacheRPCConnections].Items = 2
|
||||
expectedStats[utils.CacheTimings].Items = 14
|
||||
|
||||
Reference in New Issue
Block a user