test(credentials): use https instead of git

Github removed support of the unauthenticated git protocol.
This commit is contained in:
Aleksey Kulikov 2022-01-11 18:36:41 +03:00
parent f872612f36
commit 6bdf133f06

View file

@ -105,7 +105,7 @@ void main() {
final callbacks = Callbacks(credentials: keypair); final callbacks = Callbacks(credentials: keypair);
final repo = Repository.clone( final repo = Repository.clone(
url: 'git://github.com/libgit2/TestGitRepository', url: 'https://github.com/libgit2/TestGitRepository',
localPath: cloneDir.path, localPath: cloneDir.path,
callbacks: callbacks, callbacks: callbacks,
); );
@ -195,7 +195,7 @@ void main() {
final callbacks = Callbacks(credentials: keypair); final callbacks = Callbacks(credentials: keypair);
final repo = Repository.clone( final repo = Repository.clone(
url: 'git://github.com/libgit2/TestGitRepository', url: 'https://github.com/libgit2/TestGitRepository',
localPath: cloneDir.path, localPath: cloneDir.path,
callbacks: callbacks, callbacks: callbacks,
); );