Skip to content

Commit 00765fa

Browse files
authored
Fix a test
1 parent 082cff0 commit 00765fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/utilities/git.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ CompatHelper.get_url_for_ssh(::MyForge, ::MyCIService, repo::MyRepo) = repo.loca
126126
@test !occursin(pushed_str, output)
127127

128128
# TODO: use patches (via Mocking.jl) instead of the current approach.
129-
api = MyForge()
129+
forge = MyForge()
130130
ci_cfg = MyCIService()
131131
repo = MyRepo(local_remote_path)
132-
CompatHelper.git_push(api, ci_cfg, repo, "origin", "master", pkey)
132+
CompatHelper.git_push(ci_cfg, repo, "origin", "master", pkey; forge, ci_cfg, repo)
133133

134134
output = read(`git log --decorate`, String)
135135
@test occursin(pushed_str, output)

0 commit comments

Comments
 (0)