Skip to content

Commit

Permalink
explicit: fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeneas Rekkas (arekkas) committed Jun 29, 2016
1 parent dfb047d commit 653e324
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions handler/core/explicit/explicit_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,21 +175,6 @@ func TestHandleTokenEndpointRequest(t *testing.T) {
},
expectErr: fosite.ErrInvalidRequest,
},
{
description: "should fail because expired",
setup: func() {
httpreq.PostForm.Add("redirect_uri", "request-redir")
authreq.RequestedAt = time.Now().Add(-time.Hour * 24)
},
expectErr: fosite.ErrInvalidRequest,
},
{
description: "should pass (1)",
setup: func() {
authreq.RequestedAt = time.Now().Add(-time.Hour * 24)
},
expectErr: fosite.ErrInvalidRequest,
},
{
description: "should pass (2)",
setup: func() {
Expand Down

0 comments on commit 653e324

Please sign in to comment.