Skip to content

Commit

Permalink
fixing broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
paganotoni authored and markbates committed Jan 3, 2018
1 parent d9695d6 commit ddcbf2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions providers/auth0/auth0_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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)
}

Expand Down

0 comments on commit ddcbf2f

Please sign in to comment.