summaryrefslogtreecommitdiff
path: root/tests-clar/network/push.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/network/push.c')
-rw-r--r--tests-clar/network/push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/network/push.c b/tests-clar/network/push.c
index cecb5ba42..5f0a80cc4 100644
--- a/tests-clar/network/push.c
+++ b/tests-clar/network/push.c
@@ -166,7 +166,7 @@ void test_network_push__initialize(void)
_remote = NULL;
if (_remote_url) {
- cl_git_pass(git_remote_add(&_remote, _repo, "test", _remote_url));
+ cl_git_pass(git_remote_create(&_remote, _repo, "test", _remote_url));
git_remote_set_cred_acquire_cb(_remote, cred_acquire_cb, &cred_acquire_called);
record_callbacks_data_clear(&_record_cbs_data);