Skip to content

Commit

Permalink
fix ory#256: fixed e2e test missed in the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrigoriev committed Sep 20, 2019
1 parent e0f2b32 commit fc87832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/okclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func main() {
}

res, body = requestWithJWT("not.valid.token")
if res.StatusCode != 403 {
if res.StatusCode != 401 {
panic("proxy: expected 401: " + body)
}

Expand All @@ -68,7 +68,7 @@ func main() {
}

res, body = decisionWithJWT("not.valid.token")
if res.StatusCode != 403 {
if res.StatusCode != 401 {
panic("decision: expected 401: " + body)
}
}
Expand Down

0 comments on commit fc87832

Please sign in to comment.