This commit is contained in:
Ruslan Talpa
2017-12-12 15:31:39 +02:00
committed by GitHub
parent 804c0b7f6b
commit e4183780a9
4 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -41,4 +41,7 @@ spec = describe "test handling of aud claims in JWT" $ do
-}
let auth = authHeaderJWT "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjk5OTk5OTk5OTksInJvbGUiOiJwb3N0Z3Jlc3RfdGVzdF9hdXRob3IiLCJpZCI6Impkb2UifQ.Dpss-QoLYjec5OTsOaAc3FNVsSjA89wACoV-0ra3ClA"
request methodGet "/authors_only" [auth] ""
`shouldRespondWith` 200
`shouldRespondWith` 200
it "requests without JWT token should work" $
get "/has_count_column" `shouldRespondWith` 200