From e66a4eb37cf3d8c369e662c60fdb0b3cfc459d8e Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Wed, 5 Jun 2019 14:19:14 -0400 Subject: online tests: use gitlab for auth failures GitHub recently changed their behavior from returning 401s for private or nonexistent repositories on a clone to returning 404s. For our tests that require an auth failure (and 401), move to GitLab to request a missing repository. This lets us continue to test our auth failure case, at least until they decide to mimic that decision. --- tests/online/clone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/online/clone.c b/tests/online/clone.c index faf8a0f87..0d0334cbb 100644 --- a/tests/online/clone.c +++ b/tests/online/clone.c @@ -334,7 +334,7 @@ void test_online_clone__cred_callback_called_again_on_auth_failure(void) git__free(_remote_url); git__free(_remote_user); - _remote_url = git__strdup("https://github.com/libgit2/non-existent"); + _remote_url = git__strdup("https://gitlab.com/libgit2/non-existent"); _remote_user = git__strdup("libgit2test"); g_options.fetch_opts.callbacks.credentials = cred_count_calls_cb; -- cgit v1.2.1