diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-12-19 12:24:53 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-12-19 12:24:53 -0500 |
commit | fe470e534ccc22d153ca9005d7dd4c1f85447140 (patch) | |
tree | ffe0c26faf36bec8838c388a4e355d46cb842a66 /test/rebar_pkg_alias_SUITE.erl | |
parent | ddc64cd66b2d6e4e2315ee281b9eabb8bc2e8868 (diff) | |
parent | c4c7ca42447e0bbe3b50347d064ce51fb5c4eff7 (diff) |
Merge pull request #923 from tsloughter/hex_cdn
support temporary cdn change with HEX_CDN os var
Diffstat (limited to 'test/rebar_pkg_alias_SUITE.erl')
-rw-r--r-- | test/rebar_pkg_alias_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rebar_pkg_alias_SUITE.erl b/test/rebar_pkg_alias_SUITE.erl index f7fa5d4..fef2310 100644 --- a/test/rebar_pkg_alias_SUITE.erl +++ b/test/rebar_pkg_alias_SUITE.erl @@ -98,8 +98,8 @@ mock_config(Name, Config) -> meck:expect(rebar_dir, global_cache_dir, fun(_) -> CacheRoot end), meck:new(rebar_packages, [passthrough, no_link]), - meck:expect(rebar_packages, registry_dir, fun(_) -> CacheDir end), - meck:expect(rebar_packages, package_dir, fun(_) -> CacheDir end), + meck:expect(rebar_packages, registry_dir, fun(_) -> {ok, CacheDir} end), + meck:expect(rebar_packages, package_dir, fun(_) -> {ok, CacheDir} end), rebar_prv_update:hex_to_index(rebar_state:new()), %% Cache fetches are mocked -- we assume the server and clients are |