minor code style changes
This commit is contained in:
parent
4c4041a981
commit
232463e1db
11 changed files with 82 additions and 74 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue