88
99#define LIVE_REPO_URL "http://github.com/libgit2/TestGitRepository"
1010#define LIVE_EMPTYREPO_URL "http://github.com/libgit2/TestEmptyRepository"
11- #define BB_REPO_URL "https://libgit3 @bitbucket.org/libgit2/testgitrepository.git"
12- #define BB_REPO_URL_WITH_PASS "https://libgit3:libgit3 @bitbucket.org/libgit2/testgitrepository.git"
13- #define BB_REPO_URL_WITH_WRONG_PASS "https://libgit3 :wrong@bitbucket.org/libgit2/testgitrepository.git"
11+ #define BB_REPO_URL "https://libgit2-test @bitbucket.org/libgit2-test /testgitrepository.git"
12+ #define BB_REPO_URL_WITH_PASS "https://libgit2-test:YT77Ppm2nq8w4TYjGS8U @bitbucket.org/libgit2-test /testgitrepository.git"
13+ #define BB_REPO_URL_WITH_WRONG_PASS "https://libgit2-test :wrong@bitbucket.org/libgit2-test /testgitrepository.git"
1414#define GOOGLESOURCE_REPO_URL "https://chromium.googlesource.com/external/github.com/sergi/go-diff"
1515
1616#define SSH_REPO_URL "ssh://github.com/libgit2/TestGitRepository"
@@ -405,23 +405,23 @@ void test_online_clone__credentials(void)
405405
406406void test_online_clone__credentials_via_custom_headers (void )
407407{
408- const char * creds = "libgit3:libgit3 " ;
408+ const char * creds = "libgit2-test:YT77Ppm2nq8w4TYjGS8U " ;
409409 git_buf auth = GIT_BUF_INIT ;
410410
411411 cl_git_pass (git_buf_puts (& auth , "Authorization: Basic " ));
412412 cl_git_pass (git_buf_encode_base64 (& auth , creds , strlen (creds )));
413413 g_options .fetch_opts .custom_headers .count = 1 ;
414414 g_options .fetch_opts .custom_headers .strings = & auth .ptr ;
415415
416- cl_git_pass (git_clone (& g_repo , "https://bitbucket.org/libgit2/testgitrepository.git" , "./foo" , & g_options ));
416+ cl_git_pass (git_clone (& g_repo , "https://bitbucket.org/libgit2-test /testgitrepository.git" , "./foo" , & g_options ));
417417
418418 git_buf_dispose (& auth );
419419}
420420
421421void test_online_clone__bitbucket_style (void )
422422{
423423 git_credential_userpass_payload user_pass = {
424- "libgit3 " , "libgit3 "
424+ "libgit2-test " , "YT77Ppm2nq8w4TYjGS8U "
425425 };
426426
427427 g_options .fetch_opts .callbacks .credentials = git_credential_userpass ;
@@ -435,7 +435,7 @@ void test_online_clone__bitbucket_style(void)
435435void test_online_clone__bitbucket_uses_creds_in_url (void )
436436{
437437 git_credential_userpass_payload user_pass = {
438- "libgit2" , "wrong"
438+ "libgit2-test " , "wrong"
439439 };
440440
441441 g_options .fetch_opts .callbacks .credentials = git_credential_userpass ;
@@ -453,7 +453,7 @@ void test_online_clone__bitbucket_uses_creds_in_url(void)
453453void test_online_clone__bitbucket_falls_back_to_specified_creds (void )
454454{
455455 git_credential_userpass_payload user_pass = {
456- "libgit2" , "libgit2"
456+ "libgit2-test " , "libgit2"
457457 };
458458
459459 g_options .fetch_opts .callbacks .credentials = git_credential_userpass ;
0 commit comments