The way this test initializes `ActionDispatch::RemoteIp` has been deprecated in #40789. This makes the test append to the existing trusted proxy list instead of assigning a single value.