diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-09-02 21:09:09 -0700 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-09-02 21:09:09 -0700 |
commit | 3ed65f91801eb5f049a89745cd9859eaee1ef907 (patch) | |
tree | 702e77d59ecd6cb01eab02c5dc4599262985d6ea /test | |
parent | e385c19168aadf043adadfb3ea0bb314113d845c (diff) | |
parent | 8732b7d5bda40bd62ad8cbc1dfb34bb03edeb49e (diff) |
Merge pull request #771 from tsloughter/delay_pkg_load
only load packages when needed
Diffstat (limited to 'test')
-rw-r--r-- | test/mock_pkg_resource.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mock_pkg_resource.erl b/test/mock_pkg_resource.erl index 4ed8d8e..a94fe2f 100644 --- a/test/mock_pkg_resource.erl +++ b/test/mock_pkg_resource.erl @@ -117,7 +117,7 @@ mock_pkg_index(Opts) -> meck:new(rebar_packages, [passthrough, no_link]), meck:expect(rebar_packages, packages, fun(_State) -> to_index(Deps, Dict) end), - meck:expect(rebar_packages, load_and_verify_version, + meck:expect(rebar_packages, verify_table, fun(_State) -> to_index(Deps, Dict), true end). %%%%%%%%%%%%%%% |