Remove unnecessary test stub

What does this MR do and why?

Remove unnecessary test stub

This stub isn't necessary because setting ref: project.default_branch already causes this method to return true. Stubbing might hide regressions if the implementation of the default_branch? method changes.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading