From c57177fde8f0891462aa91cf161f1372a3dd5813 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Wed, 2 Sep 2015 22:32:34 -0700 Subject: Revert "Revert "only load packages when needed"" --- test/mock_pkg_resource.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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). %%%%%%%%%%%%%%% -- cgit v1.1