diff options
Diffstat (limited to 'tests/network/fetchlocal.c')
-rw-r--r-- | tests/network/fetchlocal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/network/fetchlocal.c b/tests/network/fetchlocal.c index f4f0921fb..736261b31 100644 --- a/tests/network/fetchlocal.c +++ b/tests/network/fetchlocal.c @@ -137,7 +137,7 @@ void test_network_fetchlocal__multi_remotes(void) cl_set_cleanup(&cleanup_sandbox, NULL); callbacks.transfer_progress = transfer_cb; - cl_git_pass(git_remote_load(&test, repo, "test")); + cl_git_pass(git_remote_lookup(&test, repo, "test")); cl_git_pass(git_remote_set_url(test, cl_git_fixture_url("testrepo.git"))); git_remote_set_callbacks(test, &callbacks); cl_git_pass(git_remote_connect(test, GIT_DIRECTION_FETCH)); @@ -148,7 +148,7 @@ void test_network_fetchlocal__multi_remotes(void) cl_assert_equal_i(32, (int)refnames.count); git_strarray_free(&refnames); - cl_git_pass(git_remote_load(&test2, repo, "test_with_pushurl")); + cl_git_pass(git_remote_lookup(&test2, repo, "test_with_pushurl")); cl_git_pass(git_remote_set_url(test2, cl_git_fixture_url("testrepo.git"))); git_remote_set_callbacks(test2, &callbacks); cl_git_pass(git_remote_connect(test2, GIT_DIRECTION_FETCH)); |