summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-12 12:45:49 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-06-12 12:45:49 +0200
commit352ee171524475e7160130439f889ed9ce7e705a (patch)
tree699b350a58b2426da6b22ae655e81a136cd81b97
parent0f69b41d2ecec60beafd1cbf1c50fdf3502200a4 (diff)
downloadlibgit2-cmn/push-tests.tar.gz
clone: set the credentials callback during testingcmn/push-tests
-rw-r--r--tests/online/clone.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/online/clone.c b/tests/online/clone.c
index fa0dbd69c..e63cf55f1 100644
--- a/tests/online/clone.c
+++ b/tests/online/clone.c
@@ -428,6 +428,7 @@ void test_online_clone__ssh_with_paths(void)
g_options.remote_cb = custom_remote_ssh_with_paths;
g_options.fetch_opts.callbacks.transport = git_transport_ssh_with_paths;
+ g_options.fetch_opts.callbacks.credentials = cred_cb;
g_options.fetch_opts.callbacks.payload = &arr;
cl_git_fail(git_clone(&g_repo, remote_url, "./foo", &g_options));