diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2022-03-22 23:05:48 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2022-03-22 23:13:39 -0400 |
commit | a1020a7f1531218d244773749ce4bd22855fd483 (patch) | |
tree | 34f4c40808d650188d7916d55f3622109f7b3192 /tests/libgit2/online | |
parent | 0e530061e0eb034ab5716d97026e602c4d6e2863 (diff) | |
download | libgit2-a1020a7f1531218d244773749ce4bd22855fd483.tar.gz |
clone: update bitbucket tests
Diffstat (limited to 'tests/libgit2/online')
-rw-r--r-- | tests/libgit2/online/clone.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/libgit2/online/clone.c b/tests/libgit2/online/clone.c index 9f2580bb3..dfaee0e85 100644 --- a/tests/libgit2/online/clone.c +++ b/tests/libgit2/online/clone.c @@ -8,9 +8,9 @@ #define LIVE_REPO_URL "http://github.com/libgit2/TestGitRepository" #define LIVE_EMPTYREPO_URL "http://github.com/libgit2/TestEmptyRepository" -#define BB_REPO_URL "https://libgit3@bitbucket.org/libgit2/testgitrepository.git" -#define BB_REPO_URL_WITH_PASS "https://libgit3:libgit3@bitbucket.org/libgit2/testgitrepository.git" -#define BB_REPO_URL_WITH_WRONG_PASS "https://libgit3:wrong@bitbucket.org/libgit2/testgitrepository.git" +#define BB_REPO_URL "https://libgit2-test@bitbucket.org/libgit2-test/testgitrepository.git" +#define BB_REPO_URL_WITH_PASS "https://libgit2-test:YT77Ppm2nq8w4TYjGS8U@bitbucket.org/libgit2-test/testgitrepository.git" +#define BB_REPO_URL_WITH_WRONG_PASS "https://libgit2-test:wrong@bitbucket.org/libgit2-test/testgitrepository.git" #define GOOGLESOURCE_REPO_URL "https://chromium.googlesource.com/external/github.com/sergi/go-diff" #define SSH_REPO_URL "ssh://github.com/libgit2/TestGitRepository" @@ -413,7 +413,7 @@ void test_online_clone__credentials(void) void test_online_clone__credentials_via_custom_headers(void) { - const char *creds = "libgit3:libgit3"; + const char *creds = "libgit2-test:YT77Ppm2nq8w4TYjGS8U"; git_str auth = GIT_STR_INIT; cl_git_pass(git_str_puts(&auth, "Authorization: Basic ")); @@ -421,7 +421,7 @@ void test_online_clone__credentials_via_custom_headers(void) g_options.fetch_opts.custom_headers.count = 1; g_options.fetch_opts.custom_headers.strings = &auth.ptr; - cl_git_pass(git_clone(&g_repo, "https://bitbucket.org/libgit2/testgitrepository.git", "./foo", &g_options)); + cl_git_pass(git_clone(&g_repo, "https://bitbucket.org/libgit2-test/testgitrepository.git", "./foo", &g_options)); git_str_dispose(&auth); } @@ -429,7 +429,7 @@ void test_online_clone__credentials_via_custom_headers(void) void test_online_clone__bitbucket_style(void) { git_credential_userpass_payload user_pass = { - "libgit3", "libgit3" + "libgit2-test", "YT77Ppm2nq8w4TYjGS8U" }; g_options.fetch_opts.callbacks.credentials = git_credential_userpass; @@ -443,7 +443,7 @@ void test_online_clone__bitbucket_style(void) void test_online_clone__bitbucket_uses_creds_in_url(void) { git_credential_userpass_payload user_pass = { - "libgit2", "wrong" + "libgit2-test", "wrong" }; g_options.fetch_opts.callbacks.credentials = git_credential_userpass; @@ -461,7 +461,7 @@ void test_online_clone__bitbucket_uses_creds_in_url(void) void test_online_clone__bitbucket_falls_back_to_specified_creds(void) { git_credential_userpass_payload user_pass = { - "libgit2", "libgit2" + "libgit2-test", "libgit2" }; g_options.fetch_opts.callbacks.credentials = git_credential_userpass; |