Skip to content

Commit 73d2064

Browse files
committed
Fix some tests
1 parent ba64b5b commit 73d2064

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/utilities/new_versions.jl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,12 @@ end
282282

283283
hash = read(`git rev-parse HEAD`, String)
284284

285+
api = GitHub.GitHubAPI()
286+
ci_cfg = nothing
287+
repo = nothing
285288
apply(git_push_patch) do
286289
CompatHelper.force_ci_trigger(
287-
GitHub.GitHubAPI(), "title", "master", "pkey"
290+
api, ci_cfg, repo, "title", "master", "pkey"
288291
)
289292
end
290293
new_hash = read(`git rev-parse HEAD`, String)
@@ -308,9 +311,12 @@ end
308311

309312
hash = read(`git rev-parse HEAD`, String)
310313

314+
api = GitHub.GitHubAPI()
315+
ci_cfg = nothing
316+
repo = nothing
311317
apply(git_push_patch) do
312318
CompatHelper.force_ci_trigger(
313-
GitHub.GitHubAPI(), "title", "master", nothing
319+
api, ci_cfg, repo, "title", "master", nothing
314320
)
315321
end
316322
new_hash = read(`git rev-parse HEAD`, String)

0 commit comments

Comments
 (0)