yiisoft/proxy-middleware

`TrustedHostsNetworkResolverTest::testProcessTrusted()` - replace `REMOTE_ADDR` with more appropriate IP and add it as a parameter

arogachev opened this issue · 1 comments

`TrustedHostsNetworkResolverTest::testProcessTrusted()` - replace `REMOTE_ADDR` with more appropriate IP and add it as a parameter

This is in tests.

  1. Move the IP to data provider's array in order for it to be readable.
  2. Introduce array named keys if possible.