diff options
author | ILYA Khlopotov <iilyak@apache.org> | 2017-07-18 08:27:57 -0700 |
---|---|---|
committer | ILYA Khlopotov <iilyak@apache.org> | 2017-07-18 08:28:42 -0700 |
commit | bd0ee45a50641e343c8d28b97aabf37fa71c15a5 (patch) | |
tree | 999a075098d4365fe11013c5014aac04f4ea2d20 | |
parent | 6a559cf3cf8cb95e2b441bc03e9b9621931a6bb4 (diff) | |
download | couchdb-bd0ee45a50641e343c8d28b97aabf37fa71c15a5.tar.gz |
Fix trailing whitespace issues
-rw-r--r-- | src/chttpd/test/chttpd_security_tests.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chttpd/test/chttpd_security_tests.erl b/src/chttpd/test/chttpd_security_tests.erl index 8f70b654f..b3a14dff9 100644 --- a/src/chttpd/test/chttpd_security_tests.erl +++ b/src/chttpd/test/chttpd_security_tests.erl @@ -81,10 +81,10 @@ delete_db(Url) -> {ok, 200, _, _} = test_request:delete(Url, [?AUTH]). create_user(UsersUrl, Name, Password, Roles) -> - + Body = "{\"name\":\"" ++ Name ++ "\",\"type\":\"user\",\"roles\":" ++ erlang:binary_to_list(jiffy:encode(Roles)) ++ ",\"password\":\"" ++ Password ++"\"}", - + Url = lists:concat([ UsersUrl, "/org.couchdb.user:", Name]), {ok, 201, _, _} = test_request:put(Url, [?CONTENT_JSON, ?AUTH], Body). |