Skip to content
Snippets Groups Projects
Commit 444da6f4 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Fix update_ref! call in the test

parent a52dc7ce
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -107,7 +107,8 @@ describe GitGarbageCollectWorker do
tree: old_commit.tree,
parents: [old_commit],
)
project.repository.update_ref!(
GitOperationService.new(nil, project.repository).send(
:update_ref!,
"refs/heads/#{SecureRandom.hex(6)}",
new_commit_sha,
Gitlab::Git::BLANK_SHA
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment