test CommitService.FindCommit: wrong case with HEAD
At least since fb705af664d0, we don't have a fallback when default GitLab branch is not set. The test was actually testing nothing, because of the missing call (found while preparing a refactoring that should be next). Added comparison with Gitaly cases with HEAD to check as much as possible that behaviour is right: - empty repo (notice the invalidation) - and normal case where the mirroring to Git has set the default GitLab branch.
parent
44d52718
No related branches found
No related tags found
Loading
Please register or sign in to comment