diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-08-16 13:03:05 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-08-16 13:03:05 -0500 |
commit | be8af2ec596fdf2e5801d4d16fd4778688f8bd6d (patch) | |
tree | 887be38e42a0719f06504d279cf014663e902d9c /test/rebar_compile_SUITE.erl | |
parent | cf22c7e941bceae8c53ec8160c4311a47676c913 (diff) | |
parent | e25ba5d8eaff9a3a70b9cecfad48b0717e0b49b2 (diff) |
Merge branch 'add-mixed-deps-tests' of https://github.com/ferd/rebar3 into ferd-add-mixed-deps-tests
Diffstat (limited to 'test/rebar_compile_SUITE.erl')
-rw-r--r-- | test/rebar_compile_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rebar_compile_SUITE.erl b/test/rebar_compile_SUITE.erl index 0aaa899..1d5aab8 100644 --- a/test/rebar_compile_SUITE.erl +++ b/test/rebar_compile_SUITE.erl @@ -544,7 +544,8 @@ only_default_transitive_deps(Config) -> GitDeps = rebar_test_utils:expand_deps(git, [{"a", "1.0.0", []}]), PkgName = rebar_test_utils:create_random_name("pkg1_"), - mock_git_resource:mock([{deps, rebar_test_utils:flat_deps(GitDeps)}, + {SrcDeps, _} = rebar_test_utils:flat_deps(GitDeps), + mock_git_resource:mock([{deps, SrcDeps}, {config, [{profiles, [{test, [{deps, [list_to_atom(PkgName)]}]}]}]}]), mock_pkg_resource:mock([{pkgdeps, [{{iolist_to_binary(PkgName), <<"0.1.0">>}, []}]}]), |