summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2022-08-20 12:38:24 +0200
committerJan Lehnardt <jan@apache.org>2022-12-16 16:56:18 +0100
commit691343f0692ec6b10cec45d7b71e3a9273ad9218 (patch)
tree2f6c3ea1c7720997679079b3d1e8b7d0b0ef1438
parent6d437e339a402321f7e2b85da536badacda8c109 (diff)
downloadcouchdb-691343f0692ec6b10cec45d7b71e3a9273ad9218.tar.gz
fix(access) elixir tests again
-rw-r--r--test/elixir/test/proxyauth_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/elixir/test/proxyauth_test.exs b/test/elixir/test/proxyauth_test.exs
index 2c6e3d530..9c9638d52 100644
--- a/test/elixir/test/proxyauth_test.exs
+++ b/test/elixir/test/proxyauth_test.exs
@@ -70,7 +70,7 @@ defmodule ProxyAuthTest do
)
assert resp2.body["userCtx"]["name"] == "couch@apache.org"
- assert resp2.body["userCtx"]["roles"] == ["test_role"]
+ assert resp2.body["userCtx"]["roles"] == ["_users", "test_role"]
assert resp2.body["info"]["authenticated"] == "proxy"
assert resp2.body["ok"] == true
@@ -124,7 +124,7 @@ defmodule ProxyAuthTest do
)
assert resp2.body["userCtx"]["name"] == "couch@apache.org"
- assert resp2.body["userCtx"]["roles"] == ["test_role_1", "test_role_2"]
+ assert resp2.body["userCtx"]["roles"] == ["_users", "test_role_1", "test_role_2"]
assert resp2.body["info"]["authenticated"] == "proxy"
assert resp2.body["ok"] == true