1
0
mirror of https://github.com/volatiletech/authboss.git synced 2024-11-24 08:42:17 +02:00

Move mocks so external packages can use them

This commit is contained in:
Aaron L 2019-01-20 09:45:26 -08:00
parent 4a8ff134bb
commit a7b9d57691
17 changed files with 16 additions and 16 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -9,7 +9,7 @@ import (
"testing"
"github.com/volatiletech/authboss"
"github.com/volatiletech/authboss/internal/mocks"
"github.com/volatiletech/authboss/mocks"
)
type testRenderer struct {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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"

View File

@ -8,7 +8,7 @@ import (
"testing"
"github.com/volatiletech/authboss"
"github.com/volatiletech/authboss/internal/mocks"
"github.com/volatiletech/authboss/mocks"
)
type testUser struct {

View File

@ -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

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -13,7 +13,7 @@ import (
"time"
"github.com/volatiletech/authboss"
"github.com/volatiletech/authboss/internal/mocks"
"github.com/volatiletech/authboss/mocks"
)
const (

View File

@ -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) {

View File

@ -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) {