Skip to content

Commit e482c6c

Browse files
committed
libgit2 test: use a valid user/pass parameter to test EAUTH instead of OS:ERROR
1 parent bf83397 commit e482c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/libgit2-online.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ mktempdir() do dir
2222
try
2323
repo_path = joinpath(dir, "Example2")
2424
# credentials are required because github tries to authenticate on unknown repo
25-
cred = LibGit2.UserPasswordCredentials("","") # empty credentials cause authentication error
25+
cred = LibGit2.UserPasswordCredentials("JeffBezanson", "hunter2") # make sure Jeff is using a good password :)
2626
LibGit2.clone(repo_url*randstring(10), repo_path, payload=Nullable(cred))
2727
error("unexpected")
2828
catch ex

0 commit comments

Comments
 (0)