add urlToNotice in tests

This commit is contained in:
Andre Staltz 2021-03-01 14:16:52 +02:00
parent e5162fea5d
commit 1f3c7e1dc5
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ func newSession(t *testing.T) *testSession {
return true
}
testFuncs["is_logged_in"] = func() *admindb.User { return nil }
testFuncs["urlToNotice"] = func(name string) string { return "" }
r, err := render.New(web.Templates,
render.SetLogger(log),