Warning · Test quality
Both HTTP(S) rejection cases change the scheme and hostname, so the test still passes if `approval_page` compares those components but ignores the port.
Impact
The test would miss a regression that accepts approval URLs on a different port.
Recommended action
Add a URL with the fixture’s scheme and hostname but a guaranteed different port, and assert a field-specific `Protocol` error.