mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
add error handling for cron AddFunc
This commit is contained in:
committed by
Dan Christian Bogos
parent
a4b2379e89
commit
ef4324fc0e
@@ -21,7 +21,6 @@ package ees
|
||||
import (
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cgrates/cgrates/config"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
@@ -29,7 +28,10 @@ import (
|
||||
)
|
||||
|
||||
func TestVirtualEeGetMetrics(t *testing.T) {
|
||||
em := utils.NewExporterMetrics("", time.Local)
|
||||
em, err := utils.NewExporterMetrics("", "Local")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
vEe := &VirtualEE{
|
||||
em: em,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user