minor code style changes

This commit is contained in:
dhax 2017-09-27 17:42:14 +02:00
parent 4c4041a981
commit 232463e1db
11 changed files with 82 additions and 74 deletions

View file

@ -25,7 +25,7 @@ import (
var (
auth *Resource
authstore mock.AuthStore
mailer mock.EmailService
mailer mock.Mailer
ts *httptest.Server
)
@ -72,7 +72,7 @@ func TestAuthResource_login(t *testing.T) {
return &a, err
}
mailer.LoginTokenFn = func(n, e string, c email.LoginTokenContent) error {
mailer.LoginTokenFn = func(n, e string, c email.ContentLoginToken) error {
return nil
}