diff --git a/auth/auth_test.go b/auth/auth_test.go index 7f556d5..f71847d 100644 --- a/auth/auth_test.go +++ b/auth/auth_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestAuthInit(t *testing.T) { diff --git a/confirm/confirm_test.go b/confirm/confirm_test.go index 75704cb..2f0c5d6 100644 --- a/confirm/confirm_test.go +++ b/confirm/confirm_test.go @@ -11,7 +11,7 @@ import ( "testing" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestInit(t *testing.T) { diff --git a/defaults/responder_test.go b/defaults/responder_test.go index 43ca963..a7ec21d 100644 --- a/defaults/responder_test.go +++ b/defaults/responder_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) type testRenderer struct { diff --git a/defaults/values_test.go b/defaults/values_test.go index c39bb7a..56921aa 100644 --- a/defaults/values_test.go +++ b/defaults/values_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestHTTPBodyReaderLogin(t *testing.T) { diff --git a/expire/expire_test.go b/expire/expire_test.go index 1b01c32..539e9f5 100644 --- a/expire/expire_test.go +++ b/expire/expire_test.go @@ -8,7 +8,7 @@ import ( "time" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestExpireIsExpired(t *testing.T) { diff --git a/lock/lock_test.go b/lock/lock_test.go index 7c564a1..9dcc55d 100644 --- a/lock/lock_test.go +++ b/lock/lock_test.go @@ -8,7 +8,7 @@ import ( "time" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestInit(t *testing.T) { diff --git a/logout/logout_test.go b/logout/logout_test.go index bd4de3a..c2fa242 100644 --- a/logout/logout_test.go +++ b/logout/logout_test.go @@ -8,7 +8,7 @@ import ( "time" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestLogout(t *testing.T) { diff --git a/internal/mocks/mocks.go b/mocks/mocks.go similarity index 100% rename from internal/mocks/mocks.go rename to mocks/mocks.go diff --git a/oauth2/oauth2_test.go b/oauth2/oauth2_test.go index ddfd3fe..08cca02 100644 --- a/oauth2/oauth2_test.go +++ b/oauth2/oauth2_test.go @@ -10,7 +10,7 @@ import ( "time" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" "golang.org/x/oauth2" "golang.org/x/oauth2/facebook" "golang.org/x/oauth2/google" diff --git a/otp/otp_test.go b/otp/otp_test.go index c99dcac..c0786b4 100644 --- a/otp/otp_test.go +++ b/otp/otp_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) type testUser struct { diff --git a/otp/twofactor/sms2fa/sms_test.go b/otp/twofactor/sms2fa/sms_test.go index 9ef8026..4e8d0c1 100644 --- a/otp/twofactor/sms2fa/sms_test.go +++ b/otp/twofactor/sms2fa/sms_test.go @@ -10,7 +10,7 @@ import ( "golang.org/x/crypto/bcrypt" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) type smsHolderSender string diff --git a/otp/twofactor/totp2fa/totp_test.go b/otp/twofactor/totp2fa/totp_test.go index 2711f81..aa16b2b 100644 --- a/otp/twofactor/totp2fa/totp_test.go +++ b/otp/twofactor/totp2fa/totp_test.go @@ -13,7 +13,7 @@ import ( "github.com/pquerna/otp/totp" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestTOTPSetup(t *testing.T) { diff --git a/otp/twofactor/twofactor_recover_test.go b/otp/twofactor/twofactor_recover_test.go index eb3da31..1ace5af 100644 --- a/otp/twofactor/twofactor_recover_test.go +++ b/otp/twofactor/twofactor_recover_test.go @@ -9,7 +9,7 @@ import ( "golang.org/x/crypto/bcrypt" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestSetup(t *testing.T) { diff --git a/otp/twofactor/twofactor_verify_test.go b/otp/twofactor/twofactor_verify_test.go index 1623206..b337a07 100644 --- a/otp/twofactor/twofactor_verify_test.go +++ b/otp/twofactor/twofactor_verify_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestSetupEmailVerify(t *testing.T) { diff --git a/recover/recover_test.go b/recover/recover_test.go index 4a7520f..de03f20 100644 --- a/recover/recover_test.go +++ b/recover/recover_test.go @@ -13,7 +13,7 @@ import ( "time" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) const ( diff --git a/register/register_test.go b/register/register_test.go index 883ad85..c304898 100644 --- a/register/register_test.go +++ b/register/register_test.go @@ -9,7 +9,7 @@ import ( "github.com/pkg/errors" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestRegisterInit(t *testing.T) { diff --git a/remember/remember_test.go b/remember/remember_test.go index 24eccae..d1a09a2 100644 --- a/remember/remember_test.go +++ b/remember/remember_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/volatiletech/authboss" - "github.com/volatiletech/authboss/internal/mocks" + "github.com/volatiletech/authboss/mocks" ) func TestInit(t *testing.T) {