From 2c81729e024adaa20599feaf040377d798b9f10e Mon Sep 17 00:00:00 2001 From: porosnicuadrian Date: Thu, 8 Oct 2020 17:34:07 +0300 Subject: [PATCH] Covered cgrevent to 100% --- utils/cgrevent_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/utils/cgrevent_test.go b/utils/cgrevent_test.go index c3b5cb516..49733e5ca 100644 --- a/utils/cgrevent_test.go +++ b/utils/cgrevent_test.go @@ -371,6 +371,13 @@ func TestCGREventconsumeRoutePaginator(t *testing.T) { } } +func TestCGREventconsumeRoutePaginatorCase1(t *testing.T) { + opts := map[string]interface{}{} + if _, err := GetRoutePaginatorFromOpts(opts); err != nil { + t.Error(err) + } +} + func TestCGREventWithOptsClone(t *testing.T) { //empty check cgrEventWithOpts := new(CGREventWithOpts)