Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo

  • Loading branch information...
commit 2c5c831b7e3d0e47fba0f1a265bb8dd1f95157d3 1 parent 1b22ca4
@Vagabond Vagabond authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/riak_core_security_tests.erl
View
2  test/riak_core_security_tests.erl
@@ -167,7 +167,7 @@ security_test_() ->
?assertEqual(ok, riak_core_security:add_group(<<"superuser">>, [{"groups", ["sysadmin"]}])),
?assertEqual(ok, riak_core_security:add_user(<<"user">>,
[{"password","password"}])),
- ?assertEqual(ok, riak_core_security:add_source(<<"user">>, {{127, 0, 0, 1}, 32}, password, [{"groups", ["superuser"]}])),
+ ?assertEqual(ok, riak_core_security:add_source(<<"user">>, {{127, 0, 0, 1}, 32}, password, [])),
%% sysadmins can get/put on any key in a default bucket
?assertEqual(ok, riak_core_security:add_grant(<<"sysadmin">>, <<"default">>, ["riak_kv.get", "riak_kv.put"])),
%% authenticating from the wrong IP
Please sign in to comment.
Something went wrong with that request. Please try again.