summaryrefslogtreecommitdiff
path: root/tests/network/remote/local.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/network/remote/local.c')
-rw-r--r--tests/network/remote/local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/network/remote/local.c b/tests/network/remote/local.c
index 21cb93c57..9d96184a2 100644
--- a/tests/network/remote/local.c
+++ b/tests/network/remote/local.c
@@ -217,7 +217,7 @@ void test_network_remote_local__push_to_bare_remote(void)
cl_git_pass(git_remote_connect(localremote, GIT_DIRECTION_PUSH, NULL));
/* Try to push */
- cl_git_pass(git_remote_upload(remote, &push_array, NULL));
+ cl_git_pass(git_remote_upload(localremote, &push_array, NULL));
/* Clean up */
git_remote_free(localremote);
@@ -256,7 +256,7 @@ void test_network_remote_local__push_to_bare_remote_with_file_url(void)
cl_git_pass(git_remote_connect(localremote, GIT_DIRECTION_PUSH, NULL));
/* Try to push */
- cl_git_pass(git_remote_upload(remote, &push_array, NULL));
+ cl_git_pass(git_remote_upload(localremote, &push_array, NULL));
/* Clean up */
git_remote_free(localremote);