summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/rebar_utils_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rebar_utils_SUITE.erl b/test/rebar_utils_SUITE.erl
index ad37e00..e8f33a3 100644
--- a/test/rebar_utils_SUITE.erl
+++ b/test/rebar_utils_SUITE.erl
@@ -276,6 +276,9 @@ tup_merge(_Config) ->
).
proxy_auth(_Config) ->
+ application:unset_env(rebar, proxy_auth),
+ %% proxy auth not set
+ ?assertEqual([], rebar_utils:get_proxy_auth()),
%% proxy auth with regular username/password
rebar_utils:set_proxy_auth("Username:Password"),
?assertEqual([{proxy_auth, {"Username", "Password"}}],