summaryrefslogtreecommitdiff
path: root/test/rebar_pkg_alias_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/rebar_pkg_alias_SUITE.erl')
-rw-r--r--test/rebar_pkg_alias_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rebar_pkg_alias_SUITE.erl b/test/rebar_pkg_alias_SUITE.erl
index 1ef5a34..bfa5058 100644
--- a/test/rebar_pkg_alias_SUITE.erl
+++ b/test/rebar_pkg_alias_SUITE.erl
@@ -241,8 +241,8 @@ mock_config(Name, Config) ->
end, AllDeps),
- meck:new(hex_repo, [passthrough]),
- meck:expect(hex_repo, get_package,
+ meck:new(r3_hex_repo, [passthrough]),
+ meck:expect(r3_hex_repo, get_package,
fun(_Config, PkgName) ->
Matches = ets:match_object(Tid, {{PkgName,'_'}, '_'}),
Releases =
@@ -254,7 +254,7 @@ mock_config(Name, Config) ->
{ok, {200, #{}, Releases}}
end),
- meck:expect(hex_repo, get_tarball, fun(_, _, _) ->
+ meck:expect(r3_hex_repo, get_tarball, fun(_, _, _) ->
{ok, {304, #{<<"etag">> => EtagGood}, <<>>}}
end),