diff options
Diffstat (limited to 'notif_config_test.go')
| -rw-r--r-- | notif_config_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/notif_config_test.go b/notif_config_test.go index b7990b1..4c63e60 100644 --- a/notif_config_test.go +++ b/notif_config_test.go @@ -41,8 +41,9 @@ func TestNotifConfig_init(t *testing.T) { }, }, }} + cfg := &ServerConfig{} for _, tc := range listCase { - err := tc.config.init() + err := tc.config.init(cfg) if err != nil { test.Assert(t, ``, tc.expError, err.Error()) continue |
