move mock mailer into email package

This commit is contained in:
dhax 2017-10-22 21:53:58 +02:00
parent 397e9c0842
commit 9f37579562
3 changed files with 14 additions and 15 deletions

View file

@ -15,7 +15,6 @@ import (
"github.com/dhax/go-base/email"
"github.com/dhax/go-base/logging"
"github.com/dhax/go-base/testing/mock"
"github.com/go-chi/chi"
"github.com/go-chi/jwtauth"
"github.com/spf13/viper"
@ -24,7 +23,7 @@ import (
var (
auth *Resource
authstore MockStorer
mailer mock.Mailer
mailer email.MockMailer
ts *httptest.Server
)