Refactor stub_asset_proxy_setting to be less error-prone

What does this MR do and why?

Fixes Refactor stub_asset_proxy_setting uses in specs... (#582610 - closed) by reusing the live logic so we don't have to keep the application and stub in sync manually.

How to set up and validate locally

Spec-only change — run affected specs, see that they still pass. CI is probably good enough.

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