diff --git a/config/config_test.go b/config/config_test.go
index 74a79e4..7ca7a99 100644
--- a/config/config_test.go
+++ b/config/config_test.go
@@ -49,6 +49,9 @@ func TestLoadFile(t *testing.T) {
Fmt: Fmt{
Template: "",
},
+ Validate: Validate{
+ Template: "",
+ },
Plan: Plan{
Template: "{{ .Title }}\n{{ .Message }}\n{{if .Result}}\n
{{ .Result }}\n
\n{{end}}\nDetails (Click me)
\n\n{{ .Body }}\n
\n",
WhenDestroy: WhenDestroy{},
@@ -91,6 +94,9 @@ func TestLoadFile(t *testing.T) {
Fmt: Fmt{
Template: "",
},
+ Validate: Validate{
+ Template: "",
+ },
Plan: Plan{
Template: "{{ .Title }}\n{{ .Message }}\n{{if .Result}}\n{{ .Result }}\n
\n{{end}}\nDetails (Click me)
\n\n{{ .Body }}\n
\n",
WhenAddOrUpdateOnly: WhenAddOrUpdateOnly{
@@ -145,6 +151,9 @@ func TestLoadFile(t *testing.T) {
Fmt: Fmt{
Template: "",
},
+ Validate: Validate{
+ Template: "",
+ },
Plan: Plan{
Template: "{{ .Title }}\n{{ .Message }}\n{{if .Result}}\n{{ .Result }}\n
\n{{end}}\nDetails (Click me)
\n\n{{ .Body }}\n
\n",
WhenDestroy: WhenDestroy{},
@@ -342,7 +351,7 @@ notifier:
typetalk:
token: token
`),
- expected: "Typetalk topic id is missing",
+ expected: "typetalk topic id is missing",
},
{
contents: []byte(`