Skip to content

Commit

Permalink
Merge pull request src-d#473 from dpordomingo/fix-callback-test
Browse files Browse the repository at this point in the history
Fix callback test
  • Loading branch information
dpordomingo authored Jan 16, 2019
2 parents e24eda9 + fcb56f7 commit f059f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func TestCallbackSuccess(t *testing.T) {
code := "test-code"

w := httptest.NewRecorder()
r := httptest.NewRequest("GET", "/callback?state="+state+"&code="+code, nil)
r := httptest.NewRequest("GET", "/api/callback?state="+state+"&code="+code, nil)

session, _ := auth.store.Get(r, "sess")
session.Values["state"] = state
Expand Down

0 comments on commit f059f77

Please sign in to comment.