improving coverage tests

This commit is contained in:
gezimbll
2022-11-01 20:44:13 -04:00
committed by Dan Christian Bogos
parent d795283c20
commit c2a5259f75
14 changed files with 296 additions and 94 deletions

View File

@@ -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,