Fix flaky test 737870

What does this MR do and why?

This change ensures client behavior is properly stubbed in the 'when user has been deleted on gitea' context.

This should fix the flaky test reported in 537870.

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.

Related to #537870 (closed)

Merge request reports

Loading