mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
improving coverage tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
d795283c20
commit
c2a5259f75
@@ -114,7 +114,12 @@ func TestActionPlanClone(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestActionTimingClone(t *testing.T) {
|
||||
at := &ActionTiming{
|
||||
var at *ActionTiming
|
||||
val := at.Clone()
|
||||
if val != nil {
|
||||
t.Errorf("expected nil ,received %v", val)
|
||||
}
|
||||
at = &ActionTiming{
|
||||
Uuid: "Uuid_test",
|
||||
ActionsID: "ActionsID_test",
|
||||
Weight: 0.7,
|
||||
|
||||
Reference in New Issue
Block a user