summaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-11-13 13:01:35 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-11-13 13:01:35 +0000
commit75924c47056260b6f7533c9dce01d8dada072800 (patch)
tree3ecce7dcc09e51f60e3b40b36e82e54403b527c0 /test/src
parent1e84475e7031c04041be1fbe82d3494ed4004509 (diff)
downloadrabbitmq-server-git-75924c47056260b6f7533c9dce01d8dada072800.tar.gz
Import changes from https://github.com/gotthardp/rabbitmq-server/tree/multi_authorization
Diffstat (limited to 'test/src')
-rw-r--r--test/src/rabbit_tests.erl11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/src/rabbit_tests.erl b/test/src/rabbit_tests.erl
index ef6b756b14..a227f3d250 100644
--- a/test/src/rabbit_tests.erl
+++ b/test/src/rabbit_tests.erl
@@ -1292,11 +1292,12 @@ test_spawn_remote() ->
end.
user(Username) ->
- #user{username = Username,
- tags = [administrator],
- auth_backend = rabbit_auth_backend_internal,
- impl = #internal_user{username = Username,
- tags = [administrator]}}.
+ #user{username = Username,
+ tags = [administrator],
+ authN_backend = rabbit_auth_backend_internal,
+ authZ_backends = [{rabbit_auth_backend_internal,
+ #internal_user{username = Username,
+ tags = [administrator]}}]}.
test_confirms() ->
{_Writer, Ch} = test_spawn(),