From ddcbf2f925e9c6d1fb193901c37281370a9967f2 Mon Sep 17 00:00:00 2001 From: Antonio Pagano Date: Wed, 3 Jan 2018 11:35:06 -0500 Subject: [PATCH] fixing broken test --- providers/auth0/auth0_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/providers/auth0/auth0_test.go b/providers/auth0/auth0_test.go index b84e583db..3ff7df3f2 100644 --- a/providers/auth0/auth0_test.go +++ b/providers/auth0/auth0_test.go @@ -7,7 +7,6 @@ import ( "github.com/markbates/goth" "github.com/markbates/goth/providers/auth0" "github.com/stretchr/testify/assert" - "gopkg.in/jarcoal/httpmock.v1" ) func Test_New(t *testing.T) { @@ -34,7 +33,7 @@ func Test_BeginAuth(t *testing.T) { session, err := p.BeginAuth("test_state") s := session.(*auth0.Session) a.NoError(err) - expectedAuthURL := "https://" + os.Getenv("AUTH0_DOMAIN") + "/oauth/authorize" + expectedAuthURL := "https://" + os.Getenv("AUTH0_DOMAIN") + "/authorize" a.Contains(s.AuthURL, expectedAuthURL) }