diff --git a/.dredd/hooks/helpers.go b/.dredd/hooks/helpers.go index ef08881f..023eafdb 100644 --- a/.dredd/hooks/helpers.go +++ b/.dredd/hooks/helpers.go @@ -191,7 +191,7 @@ func addTask() *db.Task { UserID: &userPathTestUser.ID, Created: db.GetParsedTime(time.Now()), } - _, err := store.CreateTask(t) + t, err := store.CreateTask(t) if err != nil { fmt.Println("error during insertion of task:") if j, err := json.Marshal(t); err == nil {