-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
JwtAuthTest
* test jwt auth with RSA secret (157.0ms)
3) test jwt auth with RSA secret (JwtAuthTest)
test/elixir/test/jwtauth_test.exs:36
Assertion with == failed
code: assert resp.body()["userCtx"]["name"] == "couch@apache.org"
left: :null
right: "couch@apache.org"
stacktrace:
test/elixir/test/jwtauth_test.exs:128: JwtAuthTest.test_fun/2
(couchdbtest) test/elixir/lib/couch/db_test.ex:475: Couch.DBTest.run_on_modified_server/2
test/elixir/test/jwtauth_test.exs:62: (test)
* test jwt auth with HMAC secret (15.0ms)
4) test jwt auth with HMAC secret (JwtAuthTest)
test/elixir/test/jwtauth_test.exs:6
Assertion with == failed
code: assert resp.body()["userCtx"]["name"] == "couch@apache.org"
left: :null
right: "couch@apache.org"
stacktrace:
test/elixir/test/jwtauth_test.exs:128: JwtAuthTest.test_fun/2
(couchdbtest) test/elixir/lib/couch/db_test.ex:475: Couch.DBTest.run_on_modified_server/2
test/elixir/test/jwtauth_test.exs:23: (test)
* test jwt auth with EC secret (16.0ms)
5) test jwt auth with EC secret (JwtAuthTest)
test/elixir/test/jwtauth_test.exs:75
Assertion with == failed
code: assert resp.body()["userCtx"]["name"] == "couch@apache.org"
left: :null
right: "couch@apache.org"
stacktrace:
test/elixir/test/jwtauth_test.exs:128: JwtAuthTest.test_fun/2
(couchdbtest) test/elixir/lib/couch/db_test.ex:475: Couch.DBTest.run_on_modified_server/2
test/elixir/test/jwtauth_test.exs:100: (test)
* test jwt auth without secret (0.00ms)