diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-12 12:45:49 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-12 12:45:49 +0200 |
commit | 352ee171524475e7160130439f889ed9ce7e705a (patch) | |
tree | 699b350a58b2426da6b22ae655e81a136cd81b97 | |
parent | 0f69b41d2ecec60beafd1cbf1c50fdf3502200a4 (diff) | |
download | libgit2-cmn/push-tests.tar.gz |
clone: set the credentials callback during testingcmn/push-tests
-rw-r--r-- | tests/online/clone.c | 1 |
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)); |